Skip to content

docs(openspec): propose add-release-branches-and-backports - #462

Merged
TheMeinerLP merged 3 commits into
mainfrom
openspec/add-release-branches-and-backports
Nov 18, 2026
Merged

TheMeinerLP merged 3 commits into
mainfrom
openspec/add-release-branches-and-backports

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Description

The support policy in SUPPORT.md and .github/SECURITY.md promises that the previous release line keeps receiving security fixes for 90 days after the next line ships. Nothing in the repository makes that possible today: every release is cut from main, so a fix for the previous line has nowhere to be built or published. When release 2.0.0 ships, 1.1.x becomes that previous line, and a security fix for it would have no path to a release.

This proposal describes the mechanism that closes the gap. Nothing is built yet:

  • A release branch release/<major>.<minor>.x appears only when the next line ships, cut from the last release of the old line and never from the tip of main.
  • A maintainer labels a merged fix with backport:<line>, and a bot opens the matching pull request on that branch. A conflict is reported on the original pull request with the steps to finish it by hand.
  • The support tables and the backport labels are generated from one file, so the promise in the documents and the mechanism cannot drift apart.

Long-term support is deliberately not part of this change. The file format leaves room for it, so an LTS line later is a data change.

Open questions for the maintainer are listed in the design, each with the default it takes if nobody objects. The most time-sensitive one is whether pull request #22 (release 2.0.0) waits for the first code pull requests, because the branch cut runs when it ships.

Type of change

  • fix - bug fix
  • feat - new feature
  • refactor - internal change without behaviour change
  • perf - performance improvement
  • docs - documentation only
  • test - tests only
  • build / ci / chore - tooling, dependencies, pipelines
  • Breaking change (configuration, API or behaviour that existing deployments rely on)

How was this tested?

  • openspec validate add-release-branches-and-backports --strict --no-interactive passes.
  • The dash check from the contribution rules finds nothing in the change folder.
  • The Release Please behaviour the design depends on was read from googleapis/release-please-action at the pinned SHA 45996ed (target-branch and versioning-strategy inputs; no option for the Latest flag). A spike on a throwaway repository is the first task, because the design relies on it.

Checklist

  • Commit messages follow the Conventional Commits convention documented in CLAUDE.md (English, imperative, one of feat, fix, docs, refactor, test, build, ci, chore, perf)
  • Tests cover the change, or the change is not testable and I explained why above
  • ./gradlew build passes locally
  • Documentation and configuration samples are updated if the change is user-facing
  • Existing copyright headers are preserved; new files carry the appropriate header
  • No credentials, tokens or personal data are included in the diff

@TheMeinerLP
TheMeinerLP force-pushed the openspec/add-release-branches-and-backports branch 2 times, most recently from 1477f37 to cbdbb3a Compare November 17, 2026 22:50
The support policy promises 90 days of security fixes for the previous
minor line, but the repository has no release branch to build such a
fix on. This proposal adds release branches cut when the next line
ships, backport labels, CI and images for those branches, and one file
that feeds the support tables and the labels.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
…-backports

The maintainer settled the nine open questions on 2026-11-17 with the recommended defaults. The answers are recorded in design.md, the sequencing with PR #22 is decided, and the specs state the same window, cut and sign-off rules. Tasks stay unchecked.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
The previous release line receives security fixes only. Fix and perf
changes stay on main and reach users with its next release, so the
backport rule now accepts only a fix(security) title, refuses every
other type and drops the backport:force label.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP
TheMeinerLP force-pushed the openspec/add-release-branches-and-backports branch from cbdbb3a to 7f52a3c Compare November 17, 2026 23:59
@TheMeinerLP
TheMeinerLP merged commit 06c12a5 into main Nov 18, 2026
37 checks passed
@TheMeinerLP
TheMeinerLP deleted the openspec/add-release-branches-and-backports branch November 18, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant