Repository navigation
fix: skip Fix Pass adoption while a linked issue is claimed - #2134
Merged
Merged
Conversation
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
Fix Pass now checks linked closing issues before and after reserving a PR, preventing it from pushing a branch that a live Spec or Ticket run still owns. The cause was that PR reservation observed only the PR's own labels.
Closes #2095
Test seams
thirdshift fixCLI against real Git origins and fake GitHub/Harness adapters: branch heads, Repair invocations, preserved Claims and named skip diagnostics before and after releasing a Claim.Evidence
Execution evidence
cargo test --test fix_pass pass_skips_a_claimed_issue_then_repairs_after_its_claim_ends -- --exact --nocaptureexited 101:cargo test --test fix_pass --test fix_run: 29 passed, 4 subprocess helpers ignored. Additional cases cover a Claim appearing during reservation, all closing-reference pages, proceeding to the next candidate and unreadable observations./usr/bin/time -p scripts/affected-tests main: PASS. Site 68/68; Console browser tests 205/205; full Rust suite passed. Rust validation took 1619.20s including compilation; total selector time was 1934.61s. The selector usedcargo testbecause nextest is unavailable. The final full run also passed all three added Claim regressions.Visual evidence
Before/After captures were taken for the manual, homepage, How it works and Architecture at 1440×900 and 390×844. Image hosting is unavailable: the repository credential lacks the
gistscope (gh gist createreturned HTTP 404 with the missing-scope diagnostic). The exact local capture paths are retained in the Session'svisual-evidence.json; no images were published.Review coverage
REPAIR_CIconstant; 0 hard violations.standards.md,spec.mdandsummary.json.Unaddressed findings
Standards
None.
Spec
None.
Security
None.
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Revert restores the previous selection rule; no data migration.
Blast Radius: Fix
Automatic Fix Pass adoption only. A Claim read failure stops adoption. This does not establish exclusion against a Run that starts after the final observation; existing captured-head safeguards still apply.
Built with codex codex-cli 0.167.2 · gpt-6.1-sol · xhigh