Report warm worker startup failures without marking pipelines as bad #128
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!128
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-128"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@feanorsun on GitHub · 2026-11-26 06:01 UTC · original
feanorsun:fix/warm-child-startup-errors→main· +196 −57 · 1 files · 1 commits · merged 2026-11-26 08:17 UTCRefs #26
When the parent could not locate or spawn the warm worker, or could not take its stdout,
childreturned the batch length with a successful outcome. That advanced the batch cursor past every remaining pipeline and allowed the CLI to exit successfully. The summary used the number of actualmadereports, so the skipped pipelines did not increase the displayed completion count.The batch loop now returns the first startup error through
warm::runto the CLI, preserving the underlying cause. A worker without stdout is terminated and reaped. At that point the parent has no completion report or evidence that any particular pipeline caused a crash. The failed batch contributes zero completions and receives no entries inwarm-done.txtorwarm-bad.txt.Workers check for a startup error before launching another process. Workers already running finish reporting before the parent returns. If a running worker exits abnormally, the parent still records its confirmed completions, marks the next pipeline as bad and continues with the remainder.
Windows CPU tests
Both listings selected four tests. With the test entry point in place and the original startup fallbacks retained, one passed, three failed and ten were filtered out. After the fix, four passed, zero failed and ten were filtered out.
The tests feed synthetic pipeline IDs through the production batch loop. A missing executable verifies a single spawn attempt, the original OS error and zero completion or bad-pipeline callbacks. Short-lived
cmd.exebuilt-ins exercise missing stdout, a reported completion followed by an abnormal exit, and a successful worker finishing the remainder. A two-worker test also verifies that a peer's confirmed completion survives a startup failure. These tests ran offline with the existing Cargo cache and required no graphics device or game data.@avatarmanz on GitHub · 2026-11-26 07:55 UTC · original
Merged into main in the next push (tests pass); thanks.