home-assistant / home-assistant/supervisor
Move auto-update of Supervisor components after startup
Open
@agners is already working on this.
Since Apr 28, 2026.
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 807
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 55
Description
Description
Supervisor today auto-updates itself as well as all plug-ins to the latest version before continuing update. This has several downsides:
- Startup is slowed down: This is especially problematic for first time users, the landing page might be reachable quite a bit later, especially if Internet connectivity is slow
- Quite some ordering requirements: The updater which fetches version information must load early enough for the update information to be present. This turned out tricky when working on DNS loading/reloading, since Supervisor itself uses the pulg-in DNS - leaving us in a chicken/egg situation.
- During first time setup, if updating Supervisor or plug-ins fail there is no (or delayed) user feedback (since landing page loads later). Related to that, if Supervisor updates fail the Core update is still run (see #6762).
The only downside updating Supervisor/plug-ins after startup is that there might be intermittent service interruption for the system (e.g. plug-in DNS restart or Supervisor restart). Ideally we make sure that the updates are only run after the system completed startup entirely and is in a settled state.
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.