[PR #4676] [MERGED] Nightly: /nightly no longer needs an approving review #5774

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

📋 Pull Request Information

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

Base: main ← Head: nightly/no-review-needed


📝 Commits (1)

  • c527d60 Nightly: /nightly no longer needs an approving review

📊 Changes

5 files changed (+69 additions, -96 deletions)

View changed files

📝 docs/release-flow.md (+9 -6)
📝 tests/test_nightly.py (+18 -17)
📝 tests/test_nightly_set.py (+28 -30)
📝 tools/ci/nightly.py (+6 -14)
📝 tools/ci/nightly_set.py (+8 -29)

📄 Description

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

Decision (Ludovic, 2026-10-30, after the Team asked; levzzz5154: "need to iterate on the launcher better, often blocked on it"): /nightly no longer requires an approving review. A trusted reviewer listed in .github/trusted-reviewers.txt, or Ludovic, can pick any open PR targeting main, reviewed or not.

Guards that remain

  • only Ludovic and the listed reviewers may run the command, and the paused line still stops the reviewers;
  • the CODEOWNERS-guarded files stay out (.github/, tools/ci/, signing and update code, launcher/src/backend.rs, launcher/links.json…);
  • MAX_PRS (30) and MAX_BUILDS_PER_DAY (12) stay;
  • the PR must be open and target main;
  • the build stays without secrets (nightly-build.yml's build);
  • Ludovic's remove still sticks.

Change

  • tools/ci/nightly_set.py: removed approvers, the approvals field and the team parameter; check no longer looks at reviews. Docstrings say Ludovic changed it on 2026-10-30 at the Team's request.
  • tools/ci/nightly.py: refresh drops the "no approving review" leave-out. It still drops merged, closed and refused PRs.
  • Each PR is built at the head it was picked at, as asked. The scheduled run no longer moves a PR to its newest head (it only could because a newer head had an approval); /nightly add N takes the newest head again. Without that, an author could push to an unreviewed PR after it was picked and have the new code built unseen.
  • Tests: an unreviewed PR is accepted (also by dry-run), a guarded file is still refused, the other guards still hold.
  • docs/release-flow.md: "Nightly channel" and "Trusted reviewers pick the Nightly's pull requests" updated.

Proof

python3 -m unittest discover -s tests -p 'test_nightly*.py': 43 passed. python3 tools/pr_ready.py --quick: all checks pass (481 Python tests).

These files are CODEOWNERS-guarded, so the Team can't merge it; the agent merges it after green checks.

🤖 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/4676 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `nightly/no-review-needed` --- ### 📝 Commits (1) - [`c527d60`](https://github.com/horizon-rust/horizon/commit/c527d60b752565243a64f572686e8f3e99b656cb) Nightly: /nightly no longer needs an approving review ### 📊 Changes **5 files changed** (+69 additions, -96 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-flow.md` (+9 -6) 📝 `tests/test_nightly.py` (+18 -17) 📝 `tests/test_nightly_set.py` (+28 -30) 📝 `tools/ci/nightly.py` (+6 -14) 📝 `tools/ci/nightly_set.py` (+8 -29) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. **Decision (Ludovic, 2026-10-30, after the Team asked; levzzz5154: "need to iterate on the launcher better, often blocked on it"):** `/nightly` no longer requires an approving review. A trusted reviewer listed in `.github/trusted-reviewers.txt`, or Ludovic, can pick any open PR targeting main, reviewed or not. ## Guards that remain - only Ludovic and the listed reviewers may run the command, and the `paused` line still stops the reviewers; - the CODEOWNERS-guarded files stay out (`.github/`, `tools/ci/`, signing and update code, `launcher/src/backend.rs`, `launcher/links.json`…); - `MAX_PRS` (30) and `MAX_BUILDS_PER_DAY` (12) stay; - the PR must be open and target main; - the build stays without secrets (`nightly-build.yml`'s `build`); - Ludovic's `remove` still sticks. ## Change - `tools/ci/nightly_set.py`: removed `approvers`, the `approvals` field and the `team` parameter; `check` no longer looks at reviews. Docstrings say Ludovic changed it on 2026-10-30 at the Team's request. - `tools/ci/nightly.py`: `refresh` drops the "no approving review" leave-out. It still drops merged, closed and refused PRs. - Each PR is built at the head it was picked at, as asked. The scheduled run no longer moves a PR to its newest head (it only could because a newer head had an approval); `/nightly add N` takes the newest head again. Without that, an author could push to an unreviewed PR after it was picked and have the new code built unseen. - Tests: an unreviewed PR is accepted (also by `dry-run`), a guarded file is still refused, the other guards still hold. - `docs/release-flow.md`: "Nightly channel" and "Trusted reviewers pick the Nightly's pull requests" updated. ## Proof `python3 -m unittest discover -s tests -p 'test_nightly*.py'`: 43 passed. `python3 tools/pr_ready.py --quick`: all checks pass (481 Python tests). These files are CODEOWNERS-guarded, so the Team can't merge it; the agent merges it after green checks. 🤖 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:14:53 +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#5774
No description provided.