Skip to content

Release notes: skip what an earlier release shipped, and collapse CI, test, and tooling changes - #497

Merged
tae898 merged 2 commits into
mainfrom
fix/468-release-notes-shipped-and-internal
Nov 26, 2026
Merged

tae898 merged 2 commits into
mainfrom
fix/468-release-notes-shipped-and-internal

Conversation

@tae898

@tae898 tae898 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

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.py now does two more things:

  • A final or devN release leaves out what the newest final or postN release 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 ...), which git cherry-pick -x writes.
  • A pull request whose every file is under .github/, tests/, or scripts/ 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.12.1 preview pull requests
left out as shipped by 26.11.1.post4 or earlier (12 in the tag, 2 cherry-picked) 14
listed in the sections 75
listed in the collapsed Internal block 12

The notes then say this above the sections, and end the list with the block:

What shipped in `26.11.1.post4` or an earlier release is not listed again.
...
<details>
<summary>Internal: CI, tests, and release tooling only (12)</summary>

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.adoc describes both rules and asks for git cherry-pick -x on a release line.

Checklist

  • A regression test fails on the old code and passes on the new (tests/test_release_notes_shipped_and_internal.py, with faked API calls; CI)
  • The test suite that the change can affect passes (CI)
  • uvx pre-commit run --files <changed files> passes

… 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.
@tae898 tae898 added enhancement New feature or request github_actions Pull requests that update GitHub Actions code labels Nov 26, 2026
@tae898 tae898 self-assigned this Nov 26, 2026
@tae898
tae898 merged commit f257597 into main Nov 26, 2026
25 checks passed
@tae898
tae898 deleted the fix/468-release-notes-shipped-and-internal branch November 26, 2026 22:29
@github-actions github-actions Bot added this to the 26.12.1 milestone Nov 26, 2026
@tae898 tae898 mentioned this pull request Nov 30, 2026
1 of 10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release notes: a final release lists changes that already shipped in a post release, cannot see backports, and mixes in CI and test items

1 participant