[PR #3326] [MERGED] Nightly: build on main's newest green commit, hold for release-blocker, write player notes #4903

Closed
opened 2026-11-03 05:08:46 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3326
Author: @ludovic111
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @ludovic111

Base: main ← Head: ci/nightly-green-base


📝 Commits (1)

  • 52dc27f Nightly: build on main's newest green commit, hold for release-blocker, write player notes

📊 Changes

6 files changed (+132 additions, -133 deletions)

View changed files

📝 .github/workflows/nightly-build.yml (+24 -9)
📝 docs/release-flow.md (+11 -10)
📝 tests/test_nightly.py (+27 -34)
📝 tools/ci/nightly.py (+62 -77)
📝 tools/ci/nightly_set.py (+2 -2)
📝 tools/release_train.py (+6 -1)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

Step 1 of Nightly only (Ludovic, 2026-10-28; proposed by kacpherek and levzzz5154): before every launcher follows the Nightly, it gets a release's safety. Players see nothing yet: the Nightly is still opt-in.

  • Green base. nightly.py pick builds on main's newest commit where checks and parity-main passed (release_train.green_main_head(parity=True), what releases ship), or the new base input, instead of main's tip. A failing main builds nothing and says so in the thread.
  • release-blocker holds a Nightly, as it holds releases (gate --blockers in publish). A dry run only warns, so /nightly dry-run <pr> still tries a blocker's fix.
  • No union/* fallback. With nothing picked, a Nightly is main alone. Once the train builds Nightlies (a later PR), a union build followed by a main build would drop the union's pull requests for every player.
  • Player notes. What reached main since the previous Nightly (New / Fixed / Known issues / thanks, through the release notes' code: release_train.merged_between, bullet), then the picked pull requests under "Not merged yet". The opt-in paragraph stays until the switch.

Unchanged: signing for the nightly channel, horizon-source.tar.gz, nightly-source/ tags, 7-day pruning, the 12/day cap, /nightly commands. Every build now pushes nightly/build-<date>-<n>, so the cap counts main-only builds too.

Checked on real data: from the published Nightly (9b772b2) to main, the notes list 56 merged pull requests.

Plan and later steps (launcher, servers, the train, Kira, docs): horizon-parity/agent-state/nightly-only-1.md.

pr_ready (tools/pr_ready.py on ludovics-mac-mini, against origin/main at 506a9c8f0, 4 min 13 s)

Check Result
Scope ✅ 6 files, +132 −133
Python tests ✅ 399 passed
launcher rustfmt / clippy / tests ✅ / ✅ / ✅ 220 passed
Rust ➖ no Rust change
Parity ➖ 1 affected, to run in CI: lan_integration
Label skip-release

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/3326 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `ci/nightly-green-base` --- ### 📝 Commits (1) - [`52dc27f`](https://github.com/horizon-rust/horizon/commit/52dc27fa4043f0414ea026df16d5f07c10d342a3) Nightly: build on main's newest green commit, hold for release-blocker, write player notes ### 📊 Changes **6 files changed** (+132 additions, -133 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/nightly-build.yml` (+24 -9) 📝 `docs/release-flow.md` (+11 -10) 📝 `tests/test_nightly.py` (+27 -34) 📝 `tools/ci/nightly.py` (+62 -77) 📝 `tools/ci/nightly_set.py` (+2 -2) 📝 `tools/release_train.py` (+6 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Step 1 of **Nightly only** (Ludovic, 2026-10-28; proposed by kacpherek and levzzz5154): before every launcher follows the Nightly, it gets a release's safety. Players see nothing yet: the Nightly is still opt-in. - **Green base.** `nightly.py pick` builds on main's newest commit where `checks` and `parity-main` passed (`release_train.green_main_head(parity=True)`, what releases ship), or the new `base` input, instead of main's tip. A failing main builds nothing and says so in the thread. - **`release-blocker` holds a Nightly**, as it holds releases (`gate --blockers` in `publish`). A dry run only warns, so `/nightly dry-run <pr>` still tries a blocker's fix. - **No `union/*` fallback.** With nothing picked, a Nightly is main alone. Once the train builds Nightlies (a later PR), a union build followed by a main build would drop the union's pull requests for every player. - **Player notes.** What reached main since the previous Nightly (New / Fixed / Known issues / thanks, through the release notes' code: `release_train.merged_between`, `bullet`), then the picked pull requests under "Not merged yet". The opt-in paragraph stays until the switch. Unchanged: signing for the `nightly` channel, `horizon-source.tar.gz`, `nightly-source/` tags, 7-day pruning, the 12/day cap, `/nightly` commands. Every build now pushes `nightly/build-<date>-<n>`, so the cap counts main-only builds too. Checked on real data: from the published Nightly (9b772b2) to main, the notes list 56 merged pull requests. Plan and later steps (launcher, servers, the train, Kira, docs): `horizon-parity/agent-state/nightly-only-1.md`. **pr_ready** (`tools/pr_ready.py` on ludovics-mac-mini, against origin/main at 506a9c8f0, 4 min 13 s) | Check | Result | | --- | --- | | Scope | ✅ 6 files, +132 −133 | | Python tests | ✅ 399 passed | | launcher rustfmt / clippy / tests | ✅ / ✅ / ✅ 220 passed | | Rust | ➖ no Rust change | | Parity | ➖ 1 affected, to run in CI: lan_integration | | Label | `skip-release` | 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:08:46 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#4903
No description provided.