Skip to content

docs: backport to every newer minor version too - #27621

Merged
Artur- merged 3 commits into
mainfrom
docs/backport-to-all-newer-minors
Dec 2, 2026
Merged

Artur- merged 3 commits into
mainfrom
docs/backport-to-all-newer-minors

Conversation

@totally-not-ai

@totally-not-ai totally-not-ai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Docs · CONVENTIONS.md · contributors backporting fixes

Adds a rule to the Commit & PR Hygiene section of CONVENTIONS.md: a backport goes to every minor version from the oldest one it has to reach up to main, not only to that one, so a fix never disappears when an application upgrades to a newer minor or major.

Risks:

  • ✅ Documentation only, no code change.

  • Example in the rule: with main at 25.5, getting a fix into 24.4 means target/ labels for 24.4 through 24.10 and for 25.0 through 25.4.

Working on behalf of @Artur-

@vaadin-review-bot vaadin-review-bot left a comment

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.

✅ Nothing to flag — the changes look good.

@Artur-
Artur- marked this pull request as ready for review December 2, 2026 12:20
@Artur-
Artur- enabled auto-merge December 2, 2026 12:20
@Artur-
Artur- added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit 6a33392 Dec 2, 2026
29 checks passed
@Artur-
Artur- deleted the docs/backport-to-all-newer-minors branch December 2, 2026 12:23

@vaadin-review-bot vaadin-review-bot left a comment

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.

Reviewed the changes — left 1 comment.

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

Comment thread CONVENTIONS.md
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

@github-actions github-actions Bot added the +0.0.1 label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants