Repository navigation
Release from the newest green main commit - #1597
Merged
Merged
Conversation
release-notes.sh published the summary of the first pull request whose head was the tagged bump commit. A pull request from another repository can point at that commit and be listed first. The notes now come from the origin release-<version> pull request, or from the pull request merged as the tagged commit.
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
Main can move during a release. A failed post-tag merge leaves the release standing and names the bump PR for the Day shift. Resuming recognises the tagged bump head and finishes merging and publication. Release notes retain the bump PR's summary at the new tag location.
Closes #1588
Evidence
cargo test --test release a_pending_main_tip_releases_the_newest_already_green_commit_without_waiting -- --exactfailed: the bump used the pending tip after waiting instead of the older green commit.After: the same regression passes.
cargo test --test release -- --test-threads=3passes (87 passed, 2 fixture entry points ignored), covering tag ancestry, concurrent main changes, merge failure, checks, resume and Experiment preservation.RUST_TEST_THREADS=3 NEXTEST_TEST_THREADS=3 scripts/affected-tests mainpassed: all 54 site/browser checks, the full Rust suite (cargo test, 1905.67 seconds including compilation), and release-generator tests. Bash syntax, Rust formatting and diff whitespace checks also passed.Test seams
scripts/release.shCLI against a local Git origin and fake GitHub/Harness commands: base selection, version-only bump, tag/merge order, failures and resume.scripts/release-notes.shCLI: the tagged bump PR's summary in published release notes.Review coverage
Independent
thirdshift-code-reviewreviews againstmain: Standards 0 findings; Spec 0 findings. Both axes read all ten changed files, including the generated manual. Generated-output exclusions: none. Changed files left unread: none.Unaddressed findings
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
The script change can be reverted. Tags published by a release stay in place, including when its bump PR needs a manual merge.
Blast Radius: releases
Changes the release base, tag target and publication order, plus release-note lookup and documentation. CI and release workflows remain unchanged.
Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh