Repository navigation
Conversation
Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix auto-update behavior for Docker containers
Hide pending updates from the update entity while auto-update is running
Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Containers with auto-update enabled briefly showed up as "updatable" in the HA settings while the background update was running. Users could not tell an update was already in progress and might trigger it manually.
Coordinator (
coordinator.py)_async_fetch_datanow reportsupdate_available: Falseto the update entity when an auto-update is about to run. Auto-update runs when updates are detected, auto-update is enabled, no auto-update is already in progress, anddocker_createis available on the host.update_availableattribute on the container entity still shows the real value.recreatingpending state is unchanged.docker_createis missing, which logs a warning and attempts nothing.Failure behavior
_in_auto_updatestill set, so the real state is reported. If the update failed, the entity returns to updatable.docker_createis missing on the host, the update stays visible throughout, because nothing can be installed in the background.