Skip to content

Add support for addon update/install in background#177

Merged
mdegat01 merged 2 commits intomainfrom
background-addon-install-update
Sep 8, 2025
Merged

Add support for addon update/install in background#177
mdegat01 merged 2 commits intomainfrom
background-addon-install-update

Conversation

@mdegat01
Copy link
Copy Markdown
Collaborator

@mdegat01 mdegat01 commented Sep 4, 2025

Proposed Changes

Add support for background addon install/update as added in home-assistant/supervisor#6134

As part of this work I realized that background actions should always use the default timeout. Previously something like addon install/update would run without a timeout because that action may take an indefinite amount of time. But when all the docker work is being done in the background it should have the normal timeout.

This second part also applies to backup/restore actions done in the background. We were always calling those APIs with timeout=None but that isn't appropriate when the action is being done in the background. Fixed that as well.

@mdegat01 mdegat01 requested a review from agners September 4, 2025 21:27
@mdegat01 mdegat01 added the new-feature New features or options. label Sep 4, 2025
Copy link
Copy Markdown
Collaborator

@agners agners left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mdegat01 mdegat01 merged commit 1bb6fba into main Sep 8, 2025
12 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 10, 2025
@mdegat01 mdegat01 deleted the background-addon-install-update branch March 18, 2026 21:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

new-feature New features or options.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants