Repository navigation
Run unattended Fix Passes on eligible pull requests - #1805
Merged
Merged
Conversation
This was referenced Nov 6, 2026
Merged
Closed
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
Pass skips exit 0, record changed Activity log reasons, and send no Run notification. Targeted PRs reject Pass filters. Self-merge holds ready unless recorded agent review covers the head actually acquired; Delivery carries one typed Repair context.
Closes #1795
Test seam: the
thirdshift fixCLI with real Git repositories and fake GitHub, Harness and notification services.Evidence
Execution evidence
cargo test --test fix_pass no_eligible_pull_request_skips_once_without_a_notificationfailed:usage: thirdshift fix <PR URL or number> [options]; exitSome(2)instead ofSome(0).After: the same test passes; empty Passes exit 0, retain one skip reason and save no notification.
cargo test --test standards_1795 fix_self_merge_requires_review_evidence -- --exactfailed:ADR-0004: merged a manually authored head without any agent review.After: the same command passes; the PR stays ready with Recovery guidance.
After: both exact commands pass:
cargo test --test standards_1795 fix_checks_review_evidence_for_the_fetched_head -- --exactandcargo test --test spec_1795_head_race fix_review_evidence_covers_the_head_actually_adopted -- --exact.cargo test --test review_spec_1794passed both tests after its Self-merge cleanup fixture gained review evidence; its assertions remain unchanged.cargo fmt --checkandcargo clippy --all-targets -- -D warningspassed. Thescripts/affected-tests issue-1784site check passed all 62 browser tests in 104.44s.1c65736f:cargo nextest runpassed all 3,777 tests, with 88 intentional skips, in 902.395s after 66s compilation. Site, Console and release checks also passed. Per repository policy, the redundant local full Rust run was stopped once successful CI covered this exact head; no local full-suite pass is claimed. Local Harness/Session execution fixtures used an isolated User config to avoid inheriting host load limits, while sandbox tests ran normally.Visual evidence
Fix-run manual, desktop 1440×900:
Fix-run manual, mobile 390×844:
Review
Independent Standards and Spec reviews used the pinned fixed point
issue-1784(31e2e33d), including the prerequisite #1794 changes. Standards raised 3 findings and Spec raised 1; all were addressed. Both behavioral race reproducers are retained, as is the original Standards regression.Coverage: each axis read 50 changed files, with no generated-output exclusions. Both axes left the subsequently added repository file
tests/spec_1795_head_race.rsunread; Spec supplied its full test contents as its reproducer, and the implementing agent inspected and ran the retained copy. Reports and exact counts are saved in.thirdshift-review-hgrrY4/in the session worktree.Unaddressed findings
Standards
None.
Spec
None.
Security
None.
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Revert to restore targeted-only Fix invocation. No data migration.
Blast Radius: repairs
Scheduled Fix commands can select and repair one PR. Existing reservations serialize hosts. Self-merge requires a current actor-owned Review-run marker for the adopted head; without it a repaired PR stays ready for review.
Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh