Skip to content

Versioning: a stable line (0.5.x) and a feature line (0.6.x), each with its own merge train #5144

Open

Description

@yannickmonney

From v0.5.94 on, Tale ships two lines at once. Each line has a merge train of its own.

Line Branch Versions Its train What it carries
Stable main 0.5.x, next 0.5.95 train, departing every 8 h as train-<stamp> with a pull request into main fixes of what main ships, and the tests, docs and CI about it
Feature release/0.6 0.6.x, next 0.6.0 feature-train, departing every 8 h as feature-train-<stamp> with a pull request into release/0.6 everything else: features, performance, refactors, chores, and fixes of what only the feature line has

release/0.6 is always main plus the feature line's commits. The cycle's feature-train role rebases it onto main whenever main moved and no feature-train pull request is open, so fixes reach it without merging the fix train into it.

When a person decides 0.6 is stable (by its release):

  • main takes the feature line's commits;
  • the fix train serves 0.6.x;
  • 0.5.x is no longer maintained;
  • release/0.7 opens for the feature train.

Baseline: v0.5.94 (8803db7)

Since v0.5.94, main took 73 commits: 52 fix, 6 docs, 6 ci, 5 test, 2 perf and 2 feat. All arrived through train #5134 with full CI green, and ship with 0.5.95:

Commit Change Why it is safe in a patch release
e56f307 (#5032) members pick an uploaded skill's audience optional request fields; without them the bundle's SKILL.md decides as before; no migration
ad7d546 (#4724) Kubernetes OOM kills reported as SESSION_OOM Kubernetes backend only; Docker path unchanged
6cf30f4 (#4713) short task ranks data migration 0220: idempotent, rolling-deploy safe, touches only boards with ranks over 64 characters
0f6cc0e notification fan-out in one batch behaviour-preserving rewrite, pinned by unit tests and a real-Postgres check

train held three more non-fix commits, not yet on main. They moved to the feature line on 2026-10-30 and ship with 0.6.0:

Moved from train Now on feature-train Task Change
134976f 62be827 TALE-136, #4727 Docker Engine API reads
8becd55 fabf3e0 TALE-140, #4734 local Bun version warning
8f022c8 5fb71f1 TALE-118, #4709 chat turn writes, with migrations 0221 and 0222

Done (2026-10-30)

  • Branches:
    • release/0.6 at main b2560c2;
    • feature-train at it, plus the three moved commits (fast gate green);
    • train without them (fast gate green).
  • Ruleset Release lines: release/* cannot be deleted, except by admins. No required checks, because the rebase rewrites the line.
  • The cycle on agents.tale.dev:
    • triage names each task's line (Line: stable or Line: feature);
    • the Coder branches from that line's train;
    • the Reviewer lands on it;
    • the merge-train role works the fix train and moves any non-fix commit off train before a departure;
    • a new feature-train role works the feature train and the rebase.
  • Docs on train (b55c5b7): .agents/repo.md (Git), .github/CI.md (Landing on main), .github/RELEASING.md (two lines). The shared AGENTS.md names the merge train (b5dc5c6).

Open

  • ci: run the pull-request checks for pull requests into release/** #5143: CI for pull requests into release/**. Until it reaches release/0.6, the feature train collects and does not depart.
  • Release lane for two lines. Today release.yml points latest at every release.
    • The candidate gate: a candidate on its line's branch, and version progression per line, so 0.5.96 may follow 0.6.0.
    • release.yml: latest and the image tags follow only the stable line.
    • Ops's release adoption: the stable line only.
    • Release notes per line.
  • Migrations across lines.
    • The problem: both lines take the next number (NNNN_name). The migrator records names and applies what is missing in filename order, so a feature-line migration and a stable-line one can share a number, and a later stable-line migration can sort before a feature-line one it depends on.
    • Next: decide the rule (for example a number range per line), and guard it.
  • Promotion: 0.6 becomes stable.
    • The procedure that puts the feature line on main. The ruleset refuses a direct push of commits without checks, and a rebase merge of release/0.6 rewrites them.
    • Then: tag v0.6.0, move latest, retire 0.5.x and open release/0.7.
    • Rehearse it before it is needed.
  • Renovate. Its pull requests stay on main and reach the feature line by the rebase. Decide whether non-security updates move to the feature line.

Activity

  1. added
    epic
    on Oct 31, 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

    epic

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions