Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport release-1.x] fix: send more precise progress values (#304) #306

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

apricote
Copy link
Member

Backport 867aa63 from #304.

Include the running action progress in the actions progress calculation.

The function now considers a failed action as completed, and is included in the progress. Not counting the failed action as completed might send some weird progress values e.g. [0%, 75%, (failed action occurs here) 50%], while if we count them, we should have [0%, 75%, 100%].

Related to hetznercloud/cli#528

(cherry picked from commit 867aa63)
@apricote apricote self-assigned this Aug 17, 2023
@apricote apricote requested a review from a team as a code owner August 17, 2023 10:45
@apricote apricote merged commit 298f1f9 into release-1.x Aug 17, 2023
3 checks passed
@apricote apricote deleted the backport-304-to-release-1.x branch August 17, 2023 10:50
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.

2 participants