Skip to content

Conversation

@mike-sul
Copy link
Collaborator

Update completion (uninstalling and removing dangling blobs) may fail under unexpected condition after successful update start. It makes sense to retry the completion in such the case, and if it fails again then retry without dangling blobs pruning.
If it still fails then do enforced update completion, so the update is considered as a successful.

@mike-sul mike-sul force-pushed the msul-retry-update-completion branch from 538fe5b to 3e73127 Compare November 19, 2025 11:52
@mike-sul
Copy link
Collaborator Author

Depends on foundriesio/composeapp#105.

Update completion (uninstalling and removing dangling blobs) may fail
under unexpected condition after successful update start.
It makes sense to retry the completion in such the case, and if it fails
again then retry without dangling blobs pruning.
If it still fails then do the force update completion, so the update is
considered as a successful and a user can do new updates.

Signed-off-by: Mike Sul <mike.sul@foundries.io>
If an update was interrupted in the middle of the "completion" state
then allow to go through the update state again down to the "complete"
state so the update can be actually properly completed.

Signed-off-by: Mike Sul <mike.sul@foundries.io>
@mike-sul mike-sul force-pushed the msul-retry-update-completion branch from 7eb2b04 to 384f400 Compare November 21, 2025 15:04
@mike-sul mike-sul marked this pull request as ready for review November 21, 2025 15:04
@mike-sul mike-sul merged commit d76eca2 into main Nov 21, 2025
8 checks passed
@mike-sul mike-sul deleted the msul-retry-update-completion branch November 21, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants