New release notes process: notes in every PR #20888
Replies: 2 comments 3 replies
-
This could be enforced (via the cherry pick label). I'm guessing CI will fail on the cherry pick PR if you didn't touch the correct release notes for the cherry-picked version? Does this mean cherry pick PRs will also be picking a future-releases notes on older branches? I assume that's ok/expected? |
Beta Was this translation helpful? Give feedback.
-
Nothing missed so far. I have been checking with this script (for all the commits to main after 2505e54, find the ones that don't mention for rev in $(git rev-list upstream/main ^2505e54f2d); do
if ! git show --name-only $rev | grep '^docs/notes/' > /dev/null; then
git show --name-only $rev
echo
echo
fi
done |
Beta Was this translation helpful? Give feedback.
-
I've now merged #20850, which adds a new CI check: release notes are required.
This is a new process that will have us maintain release notes in markdown files in
docs/notes
as we go, so that it's easier:Here's my current thinking of the process:
Please ask if anything is unclear. Process change is hard!
(NB. there's some discussion in #20850 about next steps, including reference to #19247.)
For contributions
docs/notes/...
(usually, the biggest number,2.22.x.md
currently) and add a sentence or a paragraph.Non-exhaustive examples of changes that don't need release notes:
category:internal
usually)Use your discretion to decide if something isn't worth calling out, and feel free to ask on the PR or in slack.
For reviewing a PR
When reviewing a PR, it may have releases notes already, in which case:
main
branch, and it's is leading up to the 2.22 releases (as it is now), release notes should be indocs/notes/2.22.x
docs/notes/2.21.x.md
If it doesn't have release notes, the release notes CI job will fail (unless labelled), and will remind us to either:
release-notes:not-required
to opt-out of release notes when not required (see above for a hint)category:internal
don't require release notes (but can have them, if required)For doing a release
When doing a dev or RC release, nothing has changed.
There are changes for other release:
2.22.0a0
, themain
branch goes from being for 2.22 to being for 2.23, so release notes need to switch to a new file (by default). Require release notes or explicit opt-out in every PR #20850 updates the release procedure with what we should be doing here.For this transition
With the transition to a new process, they'll be a bunch of existing PRs that don't have release notes and may not have the new CI check run on them before merging. This means we may have some cool new feature that merges but isn't included in release notes... so no-one knows about it!
I (@huonw) have gone through the most likely candidates (PRs approved now) and asked for an update, and I'll keep an eye on what's merged and back-fill the notes if we miss something.
Beta Was this translation helpful? Give feedback.
All reactions