Skip to content

Epic: introduce an LTS release line that only receives bug fixes #5043

Open

Description

@yannickmonney

Summary

Tale ships from main several times a day: 40 releases in three weeks, from v0.5.52 on 2026-09-24 to v0.5.91 on 2026-10-15. Every release can change behavior and UI. Organizations that run acceptance tests, train their users or sign off a version need a release line that only gets bug and security fixes, without new features, UI changes or migrations they did not ask for, while main keeps moving. Pilot organizations have asked whether they must keep preparing for larger changes with every update.

What the release process assumes today

From .github/RELEASING.md at main a71d0d92e9:

  • A release candidate must be a commit on main that contains and goes beyond the latest release, and its version must be newer (:33-39). The gate answers conflict for anything else (:130, :138-140).
  • Every release writes :X.Y.Z and :latest image tags in one call (:258-259). Ops identifies a deployment by its source commit (:35-36) and adopts releases with its release adopter (:376-379; "Source contract shared with Ops", :479).
  • The release-candidate workflows validate only commits on main.

Decisions to take first

  • Versioning. For example, cut LTS line 0.6 from a release (v0.6.0) and ship patches v0.6.1, v0.6.2, … from lts/0.6, while main continues with 0.7.x. Or choose another scheme.
  • Cadence and support window. How often a line is cut, how long it gets fixes, and how long two lines overlap.
  • What qualifies. Bugs with user impact, security fixes, data loss and compliance fixes. No features and no UI changes, and schema migrations only when a fix needs one.
  • Ownership. Who approves a backport, and how fast security fixes must land on the line.

Work (can run in parallel once the decisions are taken)

  1. Branches and backports. Protected lts/X.Y branches. A backport: lts/X.Y label opens a cherry-pick PR automatically, and CI runs on those branches.
  2. Release gate and workflows. Accept candidates on lts/*, with version progression inside the line, validated by the same seven workflows. Never move :latest. Publish :X.Y.Z, :X.Y and :lts image tags, with release notes for every patch.
  3. Upgrades. An LTS patch upgrades in place. Moving from one LTS line to the next, and from an LTS line back to main releases, have tested migration paths.
  4. CLI and Ops. Pick a channel (latest or lts) per deployment. Show the channel and the line in the app (Settings › Deployment) and in What's new. Ops adopts LTS patches through the release adopter in tale-project/ops.
  5. Docs. A support policy page (lines, windows, what gets backported), and an LTS upgrade guide.

Done when

  • The first LTS line is cut, and one bug fix is backported and released through the gate as an LTS patch, without moving :latest.
  • A deployment on the LTS channel upgrades to that patch.
  • The support policy is published.

Activity

  1. added
    priority: high
    needs discussion
    feat
    epic
    on Oct 23, 2026
  2. yannickmonney commented on Nov 14, 2026

    @yannickmonney
    ContributorAuthor

    Decision

    The LTS line is the previous stable line, kept alive as a maintenance branch release/X.Y. This extends the two-line model of #5144; there is no lts/ scheme. At the 0.6.0 promotion:

    • release/0.5 is cut from the last v0.5.x tag and becomes the first maintenance line;
    • main takes 0.6;
    • release/0.7 opens as the feature line.

    Patches ship as v0.5.N+1 from release/0.5.

    Answers

    • Versioning: the line is the minor version. Patches are vX.Y.Z tagged on release/X.Y. Images get :X.Y.Z and a moving :X.Y. :latest moves only for the highest stable version. There is no :lts tag.
    • Cadence and window: two promotions are at least 3 calendar months apart. A maintenance line gets fixes until 6 months after its successor's X.Y.0, and that EOL date is exclusive. This keeps at most two maintenance lines open at once. EOL dates are fixed at the cut and published.
    • What qualifies: security, data loss or corruption, and compliance fixes, plus bugs of high severity or above with no workaround. A migration is allowed only as a byte-identical, self-contained, idempotent copy of one already on main. A guard enforces this.
    • Ownership: the unit of a backport is a commit on main, never a train pull request. A maintainer or triage labels a squash-merged PR backport release/X.Y, or dispatches the backport workflow with the task commits. A bot opens the cherry-pick -x PR, and a human maintainer approves and merges it after the nine CI ready checks pass. A guard checks every commit on a maintenance line for the cherry-pick trailer. Critical or high security fixes ship on every supported line within 7 days. Embargoed ones are prepared in a private advisory fork and land on main and every line together. Other backports wait no longer than 30 days.
    • Channel: the CLI already keeps a deployment inside its x.y line and needs an explicit --version to cross lines, and that rule stays. Ops cohorts each declare a line. The CLI and the app show the line's status and EOL from a support manifest, with a copy embedded at build time as the fallback.

    Rationale
    This reuses what already exists: the release lines, CI for release/** (#5143), the release-latest rule, the gate and the CLI's line pinning.

    Train PRs carry many tasks, so backports are picked per commit. Upstream-first is enforced by a guard, and the private advisory path reconciles it with embargoes. The migration rule keeps the migrator's filename order safe across lines. The minimum gap between promotions is what actually caps the work at two maintenance lines. Validation stays on main's workflow definitions, and a scheduled run against each open line catches an incompatibility before a patch is urgent.

    Implementation units

    1. docs: support policy, the three-line model, the docs page in en, de and fr, and the support manifest with its schema test (main).
    2. ci: per-line candidate gate, :X.Y tags, the manifest as a release asset, and a scheduled validation run against each open line (main).
    3. ci: per-commit backport workflow, the upstream-first trailer guard, the migration identity guard, and a maintenance-branch ruleset (main).
    4. test: upgrade paths within a line and from one line to the next, as part of the candidate receipts (main).
    5. feat(cli): line status and EOL notice, reusing the existing line pinning (main, so 0.5 carries it).
    6. feat(platform): version, line and status in Settings › Deployment and What's new (release/0.6).
    7. feat(ops): release cohorts follow a declared line (tale-project/ops).
    8. chore(release): cut release/0.5 at the 0.6.0 promotion and ship the first LTS patch without moving :latest.
  3. added
    agent-ready
    and removed
    needs discussion
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyepicfeatpriority: high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions