Skip to content

build: do not call a build the store stopped a success - #235

Merged
zimbatm merged 1 commit into
mainfrom
fix/progress-unfinished
Oct 23, 2026
Merged

zimbatm merged 1 commit into
mainfrom
fix/progress-unfinished

Conversation

@zimbatm

@zimbatm zimbatm commented Oct 23, 2026

Copy link
Copy Markdown
Member

Fixes #228.

With keep-going off, the daemon stops the other builds when one fails, and it names only the failed one. The progress display took the end of a stopped build's activity as a success, and showed it with a ✔.

When a batch has a failure, the dispatcher now asks the store for the outputs of the builds held for a verdict. A build with an output the store lacks shows as · <name> stopped after <t> (an output is not in the store), and the summary counts it apart: summary: ✔ 1 succeeded · ✘ 2 failed · 1 stopped. A batch with no failure makes no extra store query.

Tests: a_dependency_the_store_stopped_is_not_a_success fails without the fix (it shows ✔ cut). fmt, clippy and the full test suite pass.

With keep-going off, the daemon stops the other builds when one fails,
and it names only the failed one. The end of a stopped build's activity
looks like the end of a build that succeeded, so the progress display
showed it with a ✔.

When a batch has a failure, ask the store for the outputs of the builds
held for a verdict. A build with an output the store lacks now shows as
stopped, and the summary counts it apart.

Fixes #228

Assisted-by: Claude Code (claude-opus-5)
Change-Id: I3fdc7360b728b79f0d5019cbfd9253dd7330ed72
@zimbatm
zimbatm enabled auto-merge October 23, 2026 23:20
@zimbatm
zimbatm added this pull request to the merge queue Oct 23, 2026
Merged via the queue into main with commit 27e45e9 Oct 23, 2026
5 checks passed
@zimbatm
zimbatm deleted the fix/progress-unfinished branch October 23, 2026 23:32
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.

Progress display shows drvs as successful that aren't

1 participant