Update channels: stable at 20:00 UTC, Nightly checks every 30 minutes

The daily promotion moves to 20:00 UTC (21:00 in Paris in winter time):
PROMOTE_AT and promote.yml's cron (20:07, retries until 21:37), with the docs
that give the time. A launcher left open on Nightly looks for new releases
every 30 minutes; Stable keeps 4 hours. The launcher README's Settings
screenshot shows the Updates choice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-22 14:57:50 +02:00
parent ea5994a58a
commit aa65c74e0f
11 changed files with 46 additions and 34 deletions
+6 -6
View File
@@ -103,7 +103,7 @@ flowchart LR
end
build --> publish["publish vX.Y.Z as a beta<br/>notes from the merged PRs"]
publish --> beta(["launchers on Nightly install it"])
publish --> promote{"promote.yml, daily at 19:00 UTC:<br/>6 h old by then, smoke test, no release-blocker"}
publish --> promote{"promote.yml, daily at 20:00 UTC:<br/>6 h old by then, smoke test, no release-blocker"}
promote --> stable["stable and latest<br/>notes since the last stable"]
stable --> launcher(["every launcher and server installs it"])
stable --> kira(["Kira posts it;<br/>pings only with ### New"])
@@ -191,17 +191,17 @@ Every game release is published as a **beta**, a GitHub pre-release, so GitHub's
- **Stable**, the default: a tested build about once a day, the betas promoted below.
- **Nightly**: every beta as soon as it is built, many times a day; it can break. "Nightly" is a name, not a
schedule. Launchers from before 0.2 had a "Beta builds" switch instead; on, it reads as Nightly.
schedule. An open launcher looks for releases every 30 minutes on Nightly (4 hours on Stable). Launchers from before 0.2 had a "Beta builds" switch instead; on, it reads as Nightly.
`horizon-server update` installs stable builds (`--version <beta>` takes one by name), and Kira announces a release
when it becomes stable: Discord's #releases only ever shows stable ones.
`.github/workflows/promote.yml` runs `tools/release_channels.py promote` once a day at 19:00 UTC (21:00 in Paris in
summer time, 20:00 in winter), with retries until 20:37 for a run GitHub starts late or skips. It promotes the newest
`.github/workflows/promote.yml` runs `tools/release_channels.py promote` once a day at 20:00 UTC (21:00 in Paris in
winter time, 22:00 in summer), with retries until 21:37 for a run GitHub starts late or skips. It promotes the newest
beta that
- is newer than the stable release,
- had been out 6 hours at 19:00 UTC (published by 13:00 UTC that day; one published later waits for the next day),
- had been out 6 hours at 20:00 UTC (published by 14:00 UTC that day; one published later waits for the next day),
so every run of the evening picks the same beta and stable moves once a day,
- passed its release smoke test: the macOS build attaches `smoke-test.json` (the offscreen game run's report) only
when the game drew a world on the Mac mini, so a release built while `MAC_RUNNER` sends macOS to GitHub waits
@@ -224,7 +224,7 @@ release (`release_train.py notes --stable`), so players who skipped the betas se
betas. By hand, from a phone too (GitHub app: Actions, promote, Run workflow):
```sh
gh workflow run promote -f tag=v0.2.3 # that beta now: no wait for 19:00, still no blocker
gh workflow run promote -f tag=v0.2.3 # that beta now: no wait for 20:00, still no blocker
gh workflow run promote -f tag=v0.2.3 -f force=true # even blocked or without a smoke test
gh workflow run promote -f dry_run=true # what would be promoted now
```
+1 -1
View File
@@ -54,7 +54,7 @@ and some are waiting for Ludovic:
the only `verify` a change can have is one that ran. Main requires it, from GitHub Actions only, for everyone,
admins included.
- **Beta, then stable.** Every release is first a **beta**. It becomes **stable**, the version launchers and
servers install by themselves, in the daily promotion (19:00 UTC), only after it has been out 6 hours and passed its
servers install by themselves, in the daily promotion (20:00 UTC), only after it has been out 6 hours and passed its
smoke test (the game started and drew a world on the Mac mini), and only while no issue labelled `release-blocker`
is open. If a beta misses a promotion it was due for, an issue says so. Players who want the newest builds at once
pick **Nightly** under Updates in the launcher's Settings. Discord announces stable releases only.
+2 -2
View File
@@ -24,7 +24,7 @@ game and the launcher of the 0.2 line.
and launcher counted separately (the game releases more often, so `v0.2.14` can go with `launcher@0.2.3`).
- **Betas** are not separate tags. As before, every game release is published as a GitHub pre-release (a beta, what
the launcher's Nightly channel installs) under its final tag and promoted in place to stable in the daily
promotion at 19:00 UTC, once it has been out 6 hours ([Channels](release-flow.md#channels)). `v0.2.4` is the same
promotion at 20:00 UTC, once it has been out 6 hours ([Channels](release-flow.md#channels)). `v0.2.4` is the same
build whether it is still a beta or already stable.
- **Pre-release tags** (`v0.3.0-rc.1`, `v0.3.0-beta.2`) are semver's and are reserved for a hand-made preview of a
new line; the train never makes them. Every reader orders them before their release and after the release
@@ -137,7 +137,7 @@ Run by the orchestrator, in this order. Until step 3, nothing is published.
# with launcher-v0.17.0's binary: update --check --json -> "launcher": "0.2.0", "horizon": "v0.2.0" (with Beta builds on)
```
and `gh release view v0.2.0 --json assets`, `horizon-server --version` in the Linux server archive.
7. `v0.2.0` becomes stable in the first daily promotion (19:00 UTC) it has been out 6 hours for (or
7. `v0.2.0` becomes stable in the first daily promotion (20:00 UTC) it has been out 6 hours for (or
`gh workflow run promote -f tag=v0.2.0`). While it is a beta, *latest*
stays the bridge, so keeping it in beta for longer catches more servers (Ludovic's call). From then on everything
is automatic again: `v0.2.1`, `launcher@0.2.1`, ….