Repository navigation
Fix release ancestry checks and re-cut stale untagged bumps - #1824
Merged
Merged
Conversation
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
Closes #1820.
git rev-list ... ^previousalso returns concurrent main commits that do not descend from the release tag. Check ancestry before considering CI, and replace stale saved Candidates or untagged bumps when a newer release boundary makes their base invalid.Tagged and merged releases retain their resume behavior. The manual and all three hand-written site pages describe the new selection and re-cut behavior.
Evidence
Execution evidence
Test seam: the
scripts/release.shCLI, using real local Git history and the existing fake GitHub/Harness adapters.cargo test --test release ancestry::a_release_waits_for_green_main_descending_from_the_previous_bump_tag -- --exact --nocaptureFailed with
assertion left == right failed: selected main content predating the previous release merge, selecting the concurrent green commit while the release merge was still pending. The output also reportedPull request is not mergeable: the merge commit cannot be cleanly created.After: the same command passed:
1 passed; 0 failed.--reviewwithout changing the branch or PR body.! rg -n 'It selects the newest main commit whose latest push CI passed' site/index.htmlexited1before the homepage correction and0after it.npm test --prefix site: 62 passed, including regenerated-manual checks and mobile layout.cargo fmt --checkandbash -n scripts/release.sh: passed.scripts/affected-tests main: passed. Its full Rust suite (cargo test; nextest unavailable) passed in 2524.52 seconds, including compilation (3m35s). The release target passed all 106 tests, with 2 fixture entry points ignored. Release-generator tests passed in 0.82 seconds. GitHub CI also passed for25129b77.Visual evidence
Each pair shows the release documentation at the same viewport and scroll state. Captures are hosted in a secret Gist; repository branches contain no evidence media.
Manual: 1440×900, release section
Manual: 390×844, release section
Architecture: 1440×900, release section
Architecture: 390×844, release section
How it works: 1440×900, release section
How it works: 390×844, release section
Homepage: 1440×900, release section
Homepage: 390×844, release section
Review
Independent Standards and Spec reviews used
mainas the fixed point. Standards: 1 finding, addressed (homepage release guidance). Spec: 0 findings. Both reviewers inspected all eight changed files, including generated manual changes. No changed file was left unread and no generated output was excluded. Reports and the finding-count summary are retained with the Session trace.Unaddressed findings
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
The script and documentation changes can be reverted. Re-cuts force-push only an untagged release branch after validation and summary review; published release protection remains in place.
Blast Radius: releases
Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh