Repository navigation
Validate resumed release PR ownership and exact version bumps - #679
Merged
Merged
Conversation
Reviewed 05dc9bf...4e64fa1 with independent Standards and Spec reviewers. Both axes found no findings and read every changed file. Reports saved in .thirdshift-review-QCD2vC; PR #679 records the outcome. No code fixes were needed. Validation: cargo test --test release (55 passed), cargo fmt --check, git diff --check, and cargo clippy --all-targets -- -D warnings.
The requested comparison 4e64fa1...8dcebea has no changed files. The thirdshift-code-review skill requires stopping before reviewers are spawned for an empty diff. Recorded that result in .thirdshift-review-Fle5qX/standards.md and spec.md; no findings or code changes, and PR #679 body preserved.
…s/8dcebeac3e3bcb62794e6a346b852e7a40afe26c/check-runs?per_page=100 failed: unexpected end of JSON input) 2026-10-12T16:10:11Z, host thirdshift. Uncommitted work at the time of failure is included in this commit.
JacobStephens2
marked this pull request as draft
October 12, 2026 16:28
2026-10-13T18:26:19Z, host Jacob-MacBook-Pro. Uncommitted work at the time of failure is included in this commit.
JacobStephens2
marked this pull request as ready for review
October 17, 2026 02:49
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
Resuming a release validates the selected PR's ownership, exact head and complete tree before accepting it. A pushed release branch without a PR receives the same content check before opening one.
The comparison includes file contents, added/deleted files and modes, and requires exactly the requested Cargo.toml / Cargo.lock version bump. Legitimate branch-only, open, merged, tagged and closed/deleted-branch resumes remain supported. The fake gh supports explicit repository selection, ownership fields and URL-based PR selection; refusal fixtures use an exhaustive
BumpChangeenum.Closes #671
Evidence
review_resumed_branch_without_pr_with_extra_changes_is_refusedandreview_tagged_resumed_pr_with_extra_changes_is_refusedboth failed: exit status wasSome(0)instead ofSome(1). The branch-only case opened a PR, merged the extra file and pushed its release tag.After: Both exact commands pass, and both tests are retained. Invalid branch-only resumes stop before creating a PR; invalid tagged resumes report a named refusal and preserve refs.
cargo test(full suite),cargo test --test release(58 passed),cargo check --all-targets,cargo clippy --all-targets -- -D warnings,cargo fmt --check,bash -n scripts/release.sh,shellcheck scripts/release.sh, andgit diff --check. The full suite retained its two pre-existing ignored unit tests.Test seams
scripts/release.sh <version>through its CLI with real local Git repositories and fake gh/Harness adapters; observe exit status, refusal diagnostics, PR state, origin refs and the identity passed to gh pr merge.Review
Independent Standards and Spec reviewers reviewed the entire branch with
git diff main...HEAD, then inspected the fixes. Standards raised one P3 Primitive Obsession finding; the fixture enum resolves it. Spec raised the branch-only validation bypass (P1) and tagged-PR validation bypass (P2); each supplied regression was run exactly, failed as predicted, and passed after its fix. Both reviewers confirmed resolution and found no new issues.Changed files left unread by Standards: none. Changed files left unread by Spec: none.
Unaddressed findings
Standards
None. The one finding was addressed and independently confirmed resolved.
Spec
None. Both findings were reproduced, fixed and independently confirmed resolved.
Security review outcome
Merge Danger
Door: two-way
The release-script checks can be reverted without a migration.
Blast Radius: Releases
Invalid resumed release candidates now stop before merge/tag operations or before reporting an existing tagged release. Existing tags are retained.
Built with codex · gpt-6.1-sol · high