Skip to content

Fix parallel run total durations#2807

Merged
nohwnd merged 1 commit into
mainfrom
nohwnd-v6-parallel-total-durations-are-wrong
Jun 29, 2026
Merged

Fix parallel run total durations#2807
nohwnd merged 1 commit into
mainfrom
nohwnd-v6-parallel-total-durations-are-wrong

Conversation

@nohwnd

@nohwnd nohwnd commented Jun 29, 2026

Copy link
Copy Markdown
Member

Summing container durations overstates a parallel run — the files overlap in wall-clock time, so two 1s files don't take 2s. Use the orchestrator's measured wall-clock for Run.Duration in parallel instead.

The per-phase run totals (UserDuration, FrameworkDuration, DiscoveryDuration) are blanked in parallel rather than summed. A single wall-clock figure for those isn't meaningful once the files overlap, and the breakdown still lives on each container since parallelism is file-level.

Sequential runs are unchanged — Run.Duration there is still the sum of the containers, which a result-object test pins down.

Supersedes #2802.

Fix #2794

…ners

Summing container durations overstates a parallel run because the files overlap in wall-clock time. Use the orchestrator's measured elapsed time for Run.Duration in parallel, and blank the per-phase run totals (user, framework, discovery) - a single wall-clock figure for those isn't meaningful once the files overlap. The per-phase breakdown still lives on each container, since parallelism is file-level.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nohwnd nohwnd added this to the 6.0.0 milestone Jun 29, 2026
@nohwnd nohwnd merged commit 7a56b8c into main Jun 29, 2026
13 checks passed
@nohwnd nohwnd deleted the nohwnd-v6-parallel-total-durations-are-wrong branch June 29, 2026 20:02
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.

[v6 Parallel] Total durations are wrong

1 participant