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
A Pickup run that loses a reservation takes the next Ready issue #1570
When two Pickup runs pick the same Ready issue, the one that loses the origin reservation (ADR 0017) moves on to the next Ready issue in its order. Today it is skipped as unavailable. It is skipped only when no Ready issue it can reserve is left. This helps at once with two hosts racing on one repository, and it is what makes overlapping Pickup runs on one machine add throughput once the Command limit exists.
Decided in docs/grill-with-docs/1532-keep-working-the-backlog.md, under "Settled by earlier answers" (Q1.2).
Acceptance criteria
With two Ready issues and two Pickup runs racing, both issues are taken, each by exactly one run.
With one Ready issue and two Pickup runs racing, exactly one run starts, and the other is skipped with no Ready issue it can reserve. It exits 0 and sends no Run notification.
An issue whose selection went stale, because it stopped being Ready or got a Claim after selection, is passed over the same way, and the next Ready issue is tried.
pickup.order (lowest-first / highest-first) is respected while moving on.
The reservation guarantees of ADR 0017 hold for every issue tried: the host is recorded, a replaced reservation is never deleted, a push rejection fails before any Claim, and an uncertain push keeps the reservation without dispatching.
Tests extend the existing race tests in pickup_run (two_machines_racing_for_a_ready_issue_start_exactly_one_run, pickup_race).
Activity
JacobStephens2 commentedon Oct 28, 2026
Closed by #1577, merged into issue-1564 by a thirdshift Ticket run with Self-merge.
Merge origin/issue-1564 into issue-1569