Skip to content

Conversation

@mike-sul
Copy link
Collaborator

Allow users to do forced update completion.

Allow users to do forced update completion.

Signed-off-by: Mike Sul <mike.sul@foundries.io>
Don't mark an update as "failed" if the "complete" fails.
The "complete" call is allowed only if an update is successfully started
or is in "completing" state, hence it doesn't make sense to "fail" it
because the update is actually successful.
Instead, if an error occurs, keep the update record in "completing"
state. A user/caller can call the forced completion if it is needed.

Signed-off-by: Mike Sul <mike.sul@foundries.io>
@mike-sul mike-sul marked this pull request as ready for review November 20, 2025 12:59
@mike-sul mike-sul requested a review from detsch November 20, 2025 12:59
@mike-sul mike-sul merged commit 0b0fa0e into main Nov 21, 2025
2 checks passed
@mike-sul mike-sul deleted the enforce-update-completion branch November 21, 2025 14:57
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