Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CONVENTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -634,3 +634,10 @@ Read it before committing or opening a pull request.
Keep a pull request to one increment. When a follow-up — a second entry point,
converting the existing call sites — is a behavior change of its own, open it
on top of the branch under review instead of growing that branch.

Backport a change to every minor version from the one it has to reach up to

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 The rule says "every minor version" where only the maintained branches can take a target/ label

This repository already defines the set of branches that take backports: the on.push.branches list in .github/workflows/validation.yml, which scripts/checkReleases.js reads as the single source of maintained branches (today 23.6, 23.7, 24.4–24.10, 25.0–25.3). "Every minor version" is wider than that set. A fix that has to reach 23.7, read by the letter, asks for target/24.0 through target/24.3, lines that get no releases and no picks.

Scoping the rule to maintained minors, and pointing at that list, keeps it followable outside the one range the example happens to cover.

CONVENTIONS.md:638 · documentation

`main`, not only to that one, so that a fix never disappears when an
application upgrades to a newer minor or major. For example, with `main` at
25.5, to get a fix into 24.4 also add the `target/` labels for 24.10, 24.9 and
every other 24.x minor down to 24.4, and for 25.4, 25.3 and every other 25.x
minor down to 25.0.
Loading