Repository navigation
fix: unblock hosted queues when an executor cannot start - #8
Merged
Merged
Conversation
LBEILC
marked this pull request as ready for review
October 21, 2026 06:56
Owner
|
Merged, thank you! Turning the stuck first job into a terminal failure, without racing an executor that already owns the claim, is exactly the right boundary. Locally on Windows 11 the hosted tests (including the 11 new ones) and the rest of the desktop suite pass, and CI passed on all three platforms. Two small notes for later, neither a blocker: This will ship in 0.3.14, with credit in the release notes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A failed spawn leaves the first hosted job queued and retried on every scan, preventing healthy jobs behind it from starting. Reproduced with a real ENOENT spawn after the request's working directory disappears: repeated scans attempt [broken, broken, broken] rather than [broken, healthy], and waiters receive no terminal result.
Changes
This does not fix a successfully spawned executor that hangs/dies before claiming, arbitrary external log corruption, or unavailable filesystem writes.
Validation
The published tree matches the locally tested tree exactly: 11a7f258a31e07e2333991a320b260121a893e52. Separate from the checkpoint and existing config-lock changes.
AI disclosure
Implemented and independently reviewed with an OpenAI coding assistant. Reproductions and reported checks were actually run; environmental and validation limitations are explicit.