Skip to content

fix(plugin:dashboard): keep the ETA for the remaining steps while a large include runs - #754

Merged
markuslf merged 1 commit into
mainfrom
fix/dashboard-eta
Nov 16, 2026
Merged

markuslf merged 1 commit into
mainfrom
fix/dashboard-eta

Conversation

@markuslf

Copy link
Copy Markdown
Member

An include_tasks / include_role is one step of the dashboard progress bar. The ETA subtracted the whole running time of the current step from the estimate for all steps left, so a long include, such as the one of monitoring_plugins with about 60 tasks, drove it to 00:00:00 with 60 steps to go.

The steps after the running one now always count in full with the average time per step, and only the running step's own average share is counted down. A unit test covers a step that runs 30 times longer than the average.

🤖 Generated with Claude Code

…arge include runs

An include_tasks or include_role is one step of the progress bar. The ETA
subtracted the whole running time of the current step from the estimate for
all steps left, so a long include such as the one of monitoring_plugins
(install.yml with linux-source.yml, about 60 tasks) drove it to 00:00:00 with
60 steps to go. The steps after the running one now always count in full, and
only the running step's own average share is counted down.
@markuslf
markuslf merged commit c9364d9 into main Nov 16, 2026
15 checks passed
@markuslf
markuslf deleted the fix/dashboard-eta branch November 16, 2026 08:04
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.

1 participant