Repository navigation
Prevent duplicate Pickup runs across machines - #788
Merged
Merged
Conversation
This was referenced Oct 19, 2026
Merged
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
Origin arbitrates competing Pickup hosts before either touches an Issue branch or PR. Reservation commits contain no source files or ancestry.
Closes #712
Evidence
Test seams: the
thirdshift pickupCLI against independent clones sharing origin and GitHub; the origin reservation interface against real Git repositories.After: deterministic regressions pass for standalone issues, Specs, successful/failed winners, stale listings with active Claim history, and local-only files. The race tests disable settling on both hosts.
cargo check,cargo fmt --check,cargo clippy --all-targets -- -D warnings, and the completecargo test --no-fail-fastrun (2 ignored tests). All 74 Pickup integration tests pass.Review: Standards found one duplication smell, addressed. Spec found two behavior defects; both were reproduced and fixed, with the regressions retained. Both axes read all 15 paths in the pinned
main...HEADreview diff, including upstream reconciliation. Unread changed files: none. Generated-output exclusions: none.Unaddressed findings
7fd5d27f6adcd4bef4e8f1bdb2916b1756ae7757...HEADand supporting code; no introduced security findings. Sandboxedcargo test --offline --test pickup_run -- --test-threads=4: 74 passed, with external networking disabled.Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Blast Radius: Pickup
All Pickup hosts must upgrade to honor reservations. A crash can leave a reservation for the Day shift to release after confirming the owner stopped; no automatic expiry can take work from a slow host. Direct Issue URL commands keep their existing behavior. Recovery is documented in ADR 0017.
Built with codex · gpt-6.1-sol · high