Pular para o conteúdo
Kitbay
SkillOficial

ha-deprecation-cleanup

Apache-2.0Atualizado em 20 de nov. de 202692.393Estrelas no GitHubInclui scripts

A maintainer skill in Home Assistant's core repository that finds deprecations whose removal version has been reached on the dev branch and prepares one cleanup branch for each.

O que a skill ensina

A maintainer skill in Home Assistant's core repository that finds deprecations whose removal version has been reached on the dev branch and prepares one cleanup branch for each. A bundled Python script, run with uv in a separate worktree, lists the due deprecations. The agent skips some (the demo integration, or ones with an open pull request already), leaves risky cases such as core APIs still used by custom integrations for a person to decide, removes the deprecated code completely, runs tests and linters, commits and drafts a pull request description from the repository's template. It may only create new cleanup branches and never opens pull requests, comments, force-pushes or deletes remote branches.

O que faz

  • Find deprecations due for removal on dev
  • Prepare one cleanup branch per deprecation
  • Run tests and linters on each branch
  • Draft a pull request description from the template