Drive open-task occupancy when the fleet dry edge is missed - #873
Merged
TheGreatAxios merged 2 commits intoSep 10, 2026
Merged
Conversation
TheGreatAxios
commented
Sep 10, 2026
TheGreatAxios
left a comment
Collaborator
Author
There was a problem hiding this comment.
Critic · Comment
Occupancy takes one dry-episode shot on idle settle even without a live 1→0; a live lane resets the latch; parentProcessing still refuses.
No findings.
TheGreatAxios
force-pushed
the
cl-7625-drive-open-tasks-when-idle-parent-misses-the-fleet-dry-edge
branch
from
September 10, 2026 14:17
92e4a5d to
d41068b
Compare
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.
Summary
Occupancy takes one dry-episode shot when the parent settles idle, even if the live fleet 1→0 event was never observed. A no-op (no open tasks) does not consume the shot; a true drive still blocks the loop until a live lane resets.
Idle-with-fleet lets the parent go idle while workers run. CL-7540 latched the open-task continuation on live count going from N>0 to 0. If that edge is missed — parent already idle with a dry fleet, fleet events never showed a live count, or a continuation abort idles without consuming the latch — open tasks sit there and the session looks stalled.
Verification
bun run typecheck,bun run build, andbun run testpassbun run checkpassesbun test src/tui/runtime-bridge.test.ts --randomize --seed 424242covers missed-edge drive-once, second settle no-op, live-lane reset, and parentProcessing refuseFixes CL-7625