Repository navigation
Skip release bump PRs in Review and Fix Passes - #2176
Merged
Merged
Conversation
Identical text lets #2162 merge these pages without conflicts.
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
Ports only #2156's admission rule (04bf9bc) to
mainahead of the #2054 Spec, so background Passes stop taking release bump pull requests now. Explicit PR targets don't use this rule.src/github/review.rs,tests/review_pass.rsand the portedtests/fix_pass.rstest are byte-identical to 04bf9bc's hunks.git merge-tree --write-tree --name-only HEAD refs/remotes/origin/issue-2054 | grep -ci conflictprints0, so the Spec PR Spec:thirdshift releaseCommand and Pass for scheduled and on-demand releases #2162 still merges without conflicts.docs/guide.mdgets one sentence in each of the Fix Pass and Review Pass candidate-selection paragraphs.site/docs/index.htmlis regenerated from it.a_merging_pass_skips_a_red_release_bump_into_main, covers the issue's "withmerge" criterion. It is appended at the end oftests/fix_pass.rs, away from the Spec branch's hunk.Cause: on
main,fix_candidateand the--authorloop inwaiting_review_pull_requestsfilter only on base, author, state andin-progress. Nothing excludes arelease-*head, so release PR #2165 was taken twice during the 0.31.0 release.Evidence
Execution evidence
Before =
src/github/review.rsatorigin/main(960f026) with the new tests; After = this branch. Host has no C toolchain, so cargo ran with a zig-cc linker wrapper onPATH.Before:
cargo test --test review_pass author_pass_skips_release_bumps_into_main_onlyA temporary probe showed which PR the Pass took:
base=main release_commented=true feature_commented=false. The Pass reviewed the release PR, not the feature PR.After:
test author_pass_skips_release_bumps_into_main_only ... okBefore:
cargo test --test fix_pass passes_skip_release_bumpsAfter:
test passes_skip_release_bumps_but_explicit_fix_still_repairs_them ... ok. This test also runs an explicitthirdshift fix <release PR URL> --no-merge --no-base-fix, which still repairs the release PR.Before:
cargo test --test fix_pass a_merging_pass_skips_a_red_release_bump_into_main(fix base main merge, with and without--author)After:
test a_merging_pass_skips_a_red_release_bump_into_main ... okFinal validation:
scripts/affected-tests mainselected the full suite.npm test --prefix site(re-run on the final wording:# fail 0),npm run docs:check --prefix site,cargo build --locked,npm test --prefix console,cargo fmt --checkandcargo test --test fix_pass(18 passed).cargo testfailed only on this host's missingsocatand on tests that also fail on unmodifiedorigin/main:sandbox::testsfailing withsandbox failed to start: socat is not on PATH.cargo test --test '*' --no-fail-fast): 102 of 106 files passed.scoring(3) andexperiments::model_graders::a_sandboxed_model_grader_sees_only_its_packet(1) fail withsocat is not on PATH.bug_origins(1) andtrial(20) have the identical failing set on agit archiveoforigin/main.experiments::review_a_cap_killed_tool_cannot_leave_a_successful_trialfailed under load. Run alone, it passed 3/3 on both this branch andorigin/main.Visual evidence
Desktop 1440×900. Each page has its
<details>section opened and is scrolled to the Review Pass text. One paragraph is added; the layout is otherwise unchanged.Home page (
site/index.html, "Skills and Processes in detail")How it works (
site/how-it-works/, "07 / Where the next issue comes from")Architecture (
site/architecture/, "Processes and Session traces")Code review
Reviewed with
thirdshift-code-reviewagainstrefs/remotes/origin/main.merge" criterion had no test. Fixed in 777d1b4. The test fails without the fix and passes with it.Both reviewers read every changed file.
site/docs/index.htmlwas inspected as generated output, verified bynpm run docs:check --prefix site. The review ran on c5671e5. The follow-up commits a83e612 (three site lines) and 777d1b4 (one appended test) were made in response to it and were not re-reviewed.Unaddressed findings
Standards
None.
Spec
thirdshift releaseCommand and Pass for scheduled and on-demand releases #2162 merges. The site conflicts are fixed. But after Spec:thirdshift releaseCommand and Pass for scheduled and on-demand releases #2162 lands,docs/guide.mdwill state the skip three times: this PR's Fix Pass and Review Pass sentences, plus the Spec branch's "Releasing" paragraph. Those sentences are what Land the release-PR skip for Review and Fix Passes on main ahead of #2054 #2170 asked for ("Updatedocs/guide.mdwhere Review and Fix Pass candidate selection is described"). Trimming the Spec branch's copy is for the Spec PR to decide, so it's left as Deduplicate the release-PR skip sentences in the guide when Spec #2162 merges #2177 (needs-triage).Security
None.
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Revert restores the old candidate selection; no data, labels or refs change.
Blast Radius: narrow
Only Pass selection of open PRs whose base is
mainand whose head starts withrelease-. Explicitreview <PR URL>andfix <PR URL>, other bases and other heads are unaffected.Closes #2170
Built with claude 2.1.322 · claude-opus-5-5 · high