[GH-ISSUE #2681] Suggestion: a nightly channel and a shared testing branch for contributors #659

Closed
opened 2026-11-02 15:40:54 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kacpherek on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2681

Right now about 250 open PRs wait for the gate one by one, and nobody can play them together before they land. Two small changes would help a lot.

1. Nightly builds

A scheduled CI job builds main every night and publishes it as a GitHub pre-release tagged nightly. The launcher gets a "Nightly" channel next to the release one (off by default). Players who want the latest fixes can test them days earlier, and reports come in against current code instead of last week's release.

2. A nightly branch contributors can merge into

Give @kacpherek, @levzzz5154 and @rdbtCVS write access to that one branch only. main stays protected and the gate still decides what lands there.

  • We merge PRs we've reviewed into nightly and fix the conflicts between them there.
  • We play the combined build, so anything that breaks is caught and fixed on its PR before it reaches the gate.
  • The nightly build can come from this branch instead of main.

Why

  • Nothing changes on main.
  • Conflicts and regressions between PRs show up earlier, so the review queue moves faster.
  • Players get a way to help test.

Happy to set up the CI job and the launcher channel in a PR if you like the idea.

Originally created by @kacpherek on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2681 Right now about 250 open PRs wait for the gate one by one, and nobody can play them together before they land. Two small changes would help a lot. ## 1. Nightly builds A scheduled CI job builds `main` every night and publishes it as a GitHub pre-release tagged `nightly`. The launcher gets a "Nightly" channel next to the release one (off by default). Players who want the latest fixes can test them days earlier, and reports come in against current code instead of last week's release. ## 2. A `nightly` branch contributors can merge into Give @kacpherek, @levzzz5154 and @rdbtCVS write access to that one branch only. `main` stays protected and the gate still decides what lands there. - We merge PRs we've reviewed into `nightly` and fix the conflicts between them there. - We play the combined build, so anything that breaks is caught and fixed on its PR before it reaches the gate. - The nightly build can come from this branch instead of `main`. ## Why - Nothing changes on `main`. - Conflicts and regressions between PRs show up earlier, so the review queue moves faster. - Players get a way to help test. Happy to set up the CI job and the launcher channel in a PR if you like the idea.
Author
Owner

@ludovic111 commented on GitHub (Oct 27, 2026):

🤖 Agent: answered on Discord too. Thanks @kacpherek, the goal is right: play reviewed PRs together and land them faster. Not as proposed, for two reasons:

1. Write access. On GitHub it's repo-wide. Every push to a branch here runs our workflows with the repo's secrets (the release signing key) on our own machines. A workflow edited on nightly would run any code there. Branch rules can't stop that, so the main repo stays write-closed.
2. A nightly already exists in practice. Releases ship in batches of 5 merges or every 6 h (0.2.76 → 0.2.79 since last night), and the launcher keeps one channel.

What gets you the same speed:
• Your shared branch, in your fork. Make integration in kacpherek/horizon and add levzzz and rdbt as collaborators there. You merge, fix conflicts and play the combined build. No secrets are at risk. Tell us "union = these PRs" and the gate proves that union in one run instead of PR by PR.
• We already do this. Each wave builds a union (main + every passing PR), runs the vanilla harnesses + LAN checks on it, then lands the PRs in order. 100+ merged this way today. From now on we push those union branches publicly so you can play them before they land.
• What slows us most is volume and overlap, not review. Please:
◦ one PR per system (e.g. all fox states in one), stacked when one needs another;
◦ say in the body which open PRs it overlaps or depends on;
◦ keep about 30 open at a time;
◦ when you fix a change request, ask the reviewer to re-review. A standing "changes requested" stops the merge queue, and we land those by hand.
The triage access you asked for in #2165 is Ludovic's call; it's with him.

<!-- gh-comment-id:6440428286 --> @ludovic111 commented on GitHub (Oct 27, 2026): 🤖 Agent: answered on Discord too. Thanks @kacpherek, the goal is right: play reviewed PRs together and land them faster. Not as proposed, for two reasons: **1. Write access.** On GitHub it's repo-wide. Every push to a branch here runs our workflows with the repo's secrets (the release signing key) on our own machines. A workflow edited on `nightly` would run any code there. Branch rules can't stop that, so the main repo stays write-closed. **2. A nightly already exists in practice.** Releases ship in batches of 5 merges or every 6 h (0.2.76 → 0.2.79 since last night), and the launcher keeps one channel. **What gets you the same speed:** • **Your shared branch, in your fork.** Make `integration` in kacpherek/horizon and add levzzz and rdbt as collaborators there. You merge, fix conflicts and play the combined build. No secrets are at risk. Tell us "union <sha> = these PRs" and the gate proves that union in one run instead of PR by PR. • **We already do this.** Each wave builds a union (main + every passing PR), runs the vanilla harnesses + LAN checks on it, then lands the PRs in order. 100+ merged this way today. From now on we push those union branches publicly so you can play them before they land. • **What slows us most is volume and overlap, not review.** Please: ◦ one PR per system (e.g. all fox states in one), stacked when one needs another; ◦ say in the body which open PRs it overlaps or depends on; ◦ keep about 30 open at a time; ◦ when you fix a change request, ask the reviewer to re-review. A standing "changes requested" stops the merge queue, and we land those by hand. The triage access you asked for in #2165 is Ludovic's call; it's with him.
Author
Owner

@ludovic111 commented on GitHub (Oct 27, 2026):

🤖 Agent: Ludovic's AI agent, with an update from Ludovic.

  • No cap on open PRs. Ludovic dropped the "~30 open" request I made above. Open as many as you need.
  • What you proposed is live: /nightly 2640 2642 (plus add, remove, clear, status, dry-run) in any issue or PR. It builds main plus those PRs into the Nightly channel players can opt into in the launcher (docs/release-flow.md, "Nightly channel"). The reviewers are listed in .github/nightly-reviewers.txt: @kacpherek, @rdbtCVS and @Online5277, Ludovic's top three by merged PRs. Ludovic keeps the final say: his clear and remove win, and he can pause it.
  • The same three can triage through Kira on Discord: /gh label|close|reopen|duplicate, after /link-github + /verify-github. They are also approvers on horizon-mods.

Closing as done. Thanks for pushing for it.

<!-- gh-comment-id:6448629399 --> @ludovic111 commented on GitHub (Oct 27, 2026): 🤖 Agent: Ludovic's AI agent, with an update from Ludovic. - **No cap on open PRs.** Ludovic dropped the "~30 open" request I made above. Open as many as you need. - **What you proposed is live:** `/nightly 2640 2642` (plus `add`, `remove`, `clear`, `status`, `dry-run`) in any issue or PR. It builds main plus those PRs into the Nightly channel players can opt into in the launcher (docs/release-flow.md, "Nightly channel"). The reviewers are listed in `.github/nightly-reviewers.txt`: @kacpherek, @rdbtCVS and @Online5277, Ludovic's top three by merged PRs. Ludovic keeps the final say: his `clear` and `remove` win, and he can pause it. - **The same three can triage through Kira on Discord:** `/gh label|close|reopen|duplicate`, after `/link-github` + `/verify-github`. They are also approvers on horizon-mods. Closing as done. Thanks for pushing for it.
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#659
No description provided.