You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refill a Freed Worker Slot From the Round's Own Ranking #4204
Follow-up to #4079, whose recommendation the maintainer accepted on 2026-11-15. Today a round waits for its slowest worker before it dispatches anything new. Instead, backlog-burndown refills a freed worker slot from the round's own ranking.
Change
"The Round" steps 4 to 6. When a worker ends (merged, parked, abandoned, or stopped on a question), clean up its group at once. Then re-verify the next ranked group's predicted files against everything in flight, and dispatch it into the freed slot. The round closes for promotion only when no worker is in flight and no refill is possible. That happens when the ranked queue is exhausted, when every remaining group is claim-blocked, or when the refill cap is reached.
"Grouping and File Claims". "Cap the round at four workers" becomes four concurrent workers, plus a per-round refill cap. Four refills, so eight groups a round, is suggested.
"The Lean Orchestrator" steps 1, 3 and 4. A refill dispatches a planner scoped to "the next claim-free group from this plan". It is not a fresh step 1 to 3 run.
Unchanged
The promotion freeze and drive-pr's states.
The round as the unit of the report, the net-flow count, and the away-mode round cap.
File claims, the worker brief, tier choice, review budgets, and "A Dispatch That Fails".
An issue filed mid-round still waits for the next round's re-rank. A promotion fix still jumps the queue.
Done when
The three sections above describe the refill, and build_dist.py --check passes.
Design changed by the maintainer, 2026-11-16, on #4215. A refill runs "The Round" steps 1 to 3 afresh for one group rather than drawing from the round-start ranking. Five local review passes on the plan-based refill kept finding stale-issue-state and mid-round claim-race defects, each in the previous round's fix. A fresh run reuses the reviewed ranking and claim checks and reads live state. As a consequence, an issue filed mid-round can be picked up by a refill rather than waiting for the next round's re-rank.
Activity
ptr727 commentedon Nov 16, 2026
Design changed by the maintainer, 2026-11-16, on #4215. A refill runs "The Round" steps 1 to 3 afresh for one group rather than drawing from the round-start ranking. Five local review passes on the plan-based refill kept finding stale-issue-state and mid-round claim-race defects, each in the previous round's fix. A fresh run reuses the reviewed ranking and claim checks and reads live state. As a consequence, an issue filed mid-round can be picked up by a refill rather than waiting for the next round's re-rank.
Refill a Slot With a Fresh Rank, Group and Verify Run
Refill a Freed Burndown Slot From the Round's Ranking, and Cap a Grou…