Repository navigation
Let Review runs survive Base branch advances - #2055
Merged
Merged
Conversation
…/actions/runs?head_sha=83e0c824c482c813eabad35b27245d985e47339a&per_page=100 failed: gh: API rate limit exceeded for user ID 53905376. If you reach out to GitHub Support for help, please include the request ID EC48:330845:28DC131:82C97DD:6AF4CAE8 and timestamp 2026-11-11 20:07:04 UTC. For more on scraping GitHub and how it may affect your rights, please review our Terms of Service (https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) (HTTP 403)) 2026-11-11T20:07:04Z, host orchestrate.etadventures.com. Uncommitted work at the time of failure is included in this commit.
JacobStephens2
marked this pull request as draft
November 11, 2026 20:07
Closed
4 tasks
JacobStephens2
marked this pull request as ready for review
November 12, 2026 07:34
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
An unrelated merge into the Base branch could abort an in-flight Review run and strand its committed fixes. Review now accepts an advancing Base tip while retaining the captured Base commit for review and CI comparison scope.
CLI regressions cover Base advancement during addressing, recommend-only posting and the CI watch; conflicts keep fixes local. The branch also shares target-mutation test setup and documents this behavior on the architecture page.
Closes #2044
Evidence
Execution evidence
Seams under test:
thirdshift review <PR URL>andthirdshift review <PR URL> --recommend-only, using the CLI, real Git refs and fake GitHub/Harness adapters.3beacb7f03fa45053914763a5d8a8668ea8cc93c, with only the branch's regression test file overlaid, ran:CARGO_BUILD_JOBS=2 cargo test --test review_run advancing_base_during_review_delivers_fixes_and_posts_findings -- --exact --nocapturepull request changed during Review run,left: Some(1),right: Some(0), and0 passed; 1 failed. Cleanup retained the committed fix as unpushed work. Only the Base tip advanced; the PR head, branch names and eligibility stayed unchanged and the PR remained mergeable.After: The exact same command at branch head
1cc3e22919ebc326cde427b8e9c67f795ce71335passed:1 passed; 0 failed(1.77s test execution).compatiblecompared the livebase_headwith the acquisition snapshot. Removing that equality allows unrelated Base advances; branch-name, eligibility, expected-head and push-lease guards remain.snapshot.base_headstill sets the diff/CI scope.require_mergeablenow also runs before initial and Repair pushes, retaining fixes locally on an observed conflict.NEXTEST_TEST_THREADS=2 CARGO_BUILD_JOBS=2 /usr/bin/time -p scripts/affected-tests refs/remotes/origin/mainpassed: 68 site tests and 4,309 Rust tests passed; 100 Rust tests skipped. Site checks took 90.43s; the Rust command took 5,799.22s, including compilation (5m 28s). Rust test execution took 5,469.117s. Total measured wall time was 5,890.38s. All thirteen slow cases passed. The exact-head GitHub CI below also passed independently.1cc3e22919ebc326cde427b8e9c67f795ce71335: Rust/formatting/Clippy, site and Console checks. Release artifact checks also passed.Visual evidence
Architecture documentation, with “Processes and Session traces” expanded at the same scroll position. Before is the supplied merge base; After is the issue branch. Both viewports fit without horizontal overflow.
1440×900 desktop
390×844 mobile
Unaddressed findings
Standards
None. The independent continuation review raised zero findings. The earlier duplicated mutation setup was already addressed by
change_review_targetintests/review_run.rs(commitc6597aed).Spec
None. The independent continuation review raised zero findings.
Security
None. This review found no unaddressed introduced finding. Branch-name, eligibility, expected-head, and push-lease checks still refuse a retarget, a moved head, and a closed or ineligible pull request. An observed conflict still blocks the initial push, a Repair push, and readiness. The captured Base commit remains the review and CI scope, as specified.
Security review outcome
No unaddressed introduced findings.
Review coverage
Both independent axes reviewed the whole branch against
refs/remotes/origin/main(0ab4647045281d11a82eada707a1e6ab4efc5949) and read all four changed files:src/processes/review.rs,src/processes/review/delivery.rs,tests/review_run.rsandsite/architecture/index.html. Standards: 0 findings; Spec: 0 findings. Unread changed files: none. Generated-output exclusions: none. Final reports and counts are retained in.thirdshift-review-WgBqKr/.The Continuation reproduced the bug and verified the existing fix without changing source files or creating another commit; the branch head is already published on origin.
Merge Danger
Door: two-way
Blast Radius: Review
Changes Review-run compatibility and adds a mergeability observation before fix publication. PR identity, eligibility, expected head, lease and final readiness checks remain enforced.
Built with codex codex-cli 0.167.1 · gpt-6.1-sol · xhigh