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

Fix progress timer and spinner #11725

Merged
merged 2 commits into from
Apr 15, 2024
Merged

Fix progress timer and spinner #11725

merged 2 commits into from
Apr 15, 2024

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Apr 15, 2024

What I did
#11357 was way too optimistic: we can't guess the last event expected for a resource. Better allow progress to manage "more work coming in" and restart the timer/spinner.

progress will report "done" state for some milliseconds before a new task starts and switch it back to "working", so there might be some flicker in UI but at least the end result is correct.

Related issue
fixes #11717

(not mandatory) A picture of a cute animal, if possible in relation to what you did
image

@ndeloof ndeloof requested review from a team, glours, milas and jhrotko and removed request for a team April 15, 2024 06:59
This reverts commit a4ddbcb.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

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

LGTM, tested and I confirm it works way better this way 👍

@ndeloof ndeloof merged commit b3792dd into docker:main Apr 15, 2024
28 checks passed
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.

Healthcheck console timer is broken.
2 participants