Release Trains & Checklists
Some products release whenever something is ready (continuous delivery). Others release on a schedule: a release train leaves the station on a fixed date, and whatever is ready by the cut-off is on it; whatever isn't waits for the next one. Browsers (Chrome and Firefox ship a new major version every four weeks), Kubernetes (three minor releases a year), Ubuntu (every six months) and most mobile apps work this way.
Why trains
| Benefit | Because |
|---|---|
| predictability | users, support and marketing know when the next version comes |
| no "one more feature" delays | the date is fixed; the scope adapts |
| a steady stabilisation window | every release gets the same freeze and testing time |
| less pressure per feature | missing a train costs one cycle, not an open-ended delay |
The cost: a fix that is ready on day 2 waits for the next train unless it qualifies for a hotfix on the current release branch (Release Branches & Hotfixes). Trains need feature flags for anything that isn't finished by the cut-off (Feature Flags).
The calendar
A typical four-week train with overlapping stages: while version N is stabilising on its release branch, version N+1 is being developed on main.
week: 1 2 3 4 5 6 7 8
main: [ develop 1.8 ][ develop 1.9 ]
↓ cut release/1.8
release/1.8: [ beta/stabilise ] → 1.8.0 ships
↓ cut release/1.9
release/1.9: [ beta/stabilise ] → 1.9.0This model generates the dates for a four-week train (cut on a Monday, two weeks of stabilisation, release on a Tuesday) with an extended-support release every fourth train, and decides which merged changes make which train:
from datetime import date, timedelta
def trains(first_cut, first_version, count, cycle_weeks=4, stabilise_weeks=2, lts_every=4):
major, minor = map(int, first_version.split("."))
out = []
for i in range(count):
cut = first_cut + timedelta(weeks=cycle_weeks * i)
out.append({
"version": f"{major}.{minor + i}.0",
"cut": cut,
"freeze": cut + timedelta(weeks=stabilise_weeks) - timedelta(days=3), # Friday before release
"release": cut + timedelta(weeks=stabilise_weeks, days=1), # Tuesday
"lts": (minor + i) % lts_every == 0,
})
return out
schedule = trains(date(2026, 1, 5), "1.8", 5)
print(f"{'version':<8} {'branch cut':<11} {'code freeze':<12} {'release':<11} support")
for t in schedule:
print(f"{t['version']:<8} {t['cut']} {t['freeze']} {t['release']} {'LTS (12 months)' if t['lts'] else '1 cycle'}")
merges = [("new export dialog", date(2026, 1, 2)), ("crash fix in sync", date(2026, 1, 5)),
("faster search", date(2026, 1, 6)), ("dark theme", date(2026, 2, 10)),
("plugin API", date(2026, 3, 2))]
print()
for name, merged in merges:
train = next(t for t in schedule if merged < t["cut"] or merged == t["cut"])
print(f"{name:<18} merged {merged} -> ships in {train['version']} on {train['release']}")version branch cut code freeze release support
1.8.0 2026-01-05 2026-01-16 2026-01-20 LTS (12 months)
1.9.0 2026-02-02 2026-02-13 2026-02-17 1 cycle
1.10.0 2026-03-02 2026-03-13 2026-03-17 1 cycle
1.11.0 2026-03-30 2026-04-10 2026-04-14 1 cycle
1.12.0 2026-04-27 2026-05-08 2026-05-12 LTS (12 months)
new export dialog merged 2026-01-02 -> ships in 1.8.0 on 2026-01-20
crash fix in sync merged 2026-01-05 -> ships in 1.8.0 on 2026-01-20
faster search merged 2026-01-06 -> ships in 1.9.0 on 2026-02-17
dark theme merged 2026-02-10 -> ships in 1.10.0 on 2026-03-17
plugin API merged 2026-03-02 -> ships in 1.10.0 on 2026-03-17
Note the boundary: a change merged on the cut day itself (crash fix in sync, merged 2026-01-05) is defined here as making that train. Write such rules down; arguments about "was it in before the cut?" are a classic train-release time sink. Most teams make the cut a commit (the branch point), not a time of day.
The release checklist
Automation runs the steps; a checklist makes sure the decisions around them happen. Keep it in the repository (RELEASING.md or an issue template) and tick it for every release; a release-tracking issue per version is a good place.
## Release 1.9.0 checklist
### Before the cut (owner: release captain)
- [ ] All PRs for the train merged or moved to 1.10 (milestone empty)
- [ ] Unfinished features behind flags, defaulting to off
- [ ] Dependencies updated; no known critical vulnerabilities
- [ ] Release branch `release/1.9` cut from main, CI green
### Stabilisation
- [ ] Release candidate tagged (`v1.9.0-rc.1`) and published to the beta channel
- [ ] Upgrade tested from 1.8.x (data/config migration, rollback to 1.8.x verified)
- [ ] Fixes landed on main first, cherry-picked with `-x`
- [ ] Changelog reviewed by a human: highlights, breaking changes with upgrade steps
### Release day
- [ ] Final tag `v1.9.0` on release/1.9 (annotated, pushed by CI)
- [ ] Pipeline green: all platforms built, checksums, signatures, attestations
- [ ] Artifacts verified from the public download location (`sha256sum -c`)
- [ ] Rollout started (staged: 1% → 10% → 100%), dashboards watched
- [ ] Announcement, docs and website version updated
### After
- [ ] Support window of the previous version updated in SECURITY.md
- [ ] Retrospective: anything to automate or remove from this list?Rules for a checklist that people actually use:
- Every item is either automated or a real decision. "Run the tests" belongs in CI, not here; "changelog reviewed by a human" belongs here.
- Each item has an owner, and one person (the release captain, rotating per release) drives the list.
- The last item improves the list. Anything done by hand twice is a candidate for automation.
Test yourself
On a release train, a feature isn't finished at the cut-off. What happens?
- The release is delayed until it's ready
- It ships on the next train; meanwhile it stays off behind a flag
- It is merged into the release branch anyway
- The train is cancelled
Which item does NOT belong on a manual release checklist?
- Changelog reviewed by a human
- Run the unit tests
- Decide whether the RC is good enough
- Confirm the rollback path to the previous version
Why define the cut-off as a commit (the branch point) rather than a time of day?
- Git can't record times
- It removes arguments about whether a change made the train: it's either an ancestor of the branch point or not
- Time zones don't matter
- Tags require it