Repository navigation
Release notes: skip what an earlier release shipped, and collapse CI, test, and tooling changes - #497
Merged
Merged
Conversation
… test and tooling changes The notes of a final release listed pull requests that had already gone out in a post release of the base before it, including ported ones that ancestry cannot see, and mixed CI and test items into the sections a user reads. A final or devN release now leaves out a pull request whose merge commit is in the newest final or postN tag of an earlier base, or that a commit of that post line names as a cherry-pick. A pull request that changes only .github/, tests/ or scripts/ goes into one collapsed Internal block.
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.
What does this PR do?
The notes of a final release listed changes that had already shipped in a post release, and mixed CI and test items in with what a user cares about.
scripts/release_notes.pynow does two more things:devNrelease leaves out what the newest final orpostNrelease of an earlier base shipped. That is a pull request whose merge commit is in that tag, or whose merge commit a commit of that post line names with(cherry picked from commit ...), whichgit cherry-pick -xwrites..github/,tests/, orscripts/goes into one collapsed Internal block, whatever its labels.I ran the read-only preview for 26.12.1 on 2026-11-27 (
scripts/release_notes.py 26.12.1 --dry-run):26.11.1.post4or earlier (12 in the tag, 2 cherry-picked)The notes then say this above the sections, and end the list with the block:
The Internal block holds fewer than the about 30 CI, test, and tooling lines I counted in the issue, because many of those pull requests also change a file outside the three folders. A pull request that changed only a build input under
scripts/(such as the jar exclusion list) would be collapsed too. None of the 12 does.Related issues
Closes #468.
Performance changes
None.
Docs
development/release.adocdescribes both rules and asks forgit cherry-pick -xon a release line.Checklist
tests/test_release_notes_shipped_and_internal.py, with faked API calls; CI)uvx pre-commit run --files <changed files>passes