[PR #2910] [MERGED] Trusted reviewers triage on GitHub: /close, /reopen, /label, /unlabel #4684

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

📋 Pull Request Information

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

Base: main ← Head: feat/triage-commands


📝 Commits (1)

  • d87b081 Trusted reviewers triage on GitHub: /close, /reopen, /label, /unlabel

📊 Changes

8 files changed (+599 additions, -15 deletions)

View changed files

➖ .github/nightly-reviewers.txt (+0 -7)
➕ .github/trusted-reviewers.txt (+8 -0)
📝 .github/workflows/nightly-command.yml (+2 -2)
➕ .github/workflows/triage-command.yml (+48 -0)
📝 docs/release-flow.md (+30 -4)
➕ tests/test_triage_command.py (+239 -0)
📝 tools/ci/nightly_set.py (+2 -2)
➕ tools/ci/triage_command.py (+270 -0)

📄 Description

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

Trusted reviewers can triage straight on GitHub with comment commands (kacpherek's request; their agents work on GitHub, not Discord).

  • /close [completed|not planned], /close duplicate of #N, /reopen, /label a, b, /unlabel a, on the first line of a comment.
  • .github/nightly-reviewers.txt is renamed .github/trusted-reviewers.txt: one list for /nightly and the triage commands. paused stops both for reviewers; Ludovic is always allowed.
  • tools/ci/triage_command.py + .github/workflows/triage-command.yml: copies /nightly's shape (main's copy, sparse checkout, persist-credentials: false, comment and login only through env vars, issues/pull-requests: write, contents: read). No PR code is checked out or run.
  • Refused with a one-line answer: labels containing release, full-parity; Ludovic's own issues/PRs; merged PRs; locked threads; more than 60 actions per reviewer per 24 h (counted from the workflow's own comments). Labels must already exist.
  • Every action or refusal answers with one 🤖 Triage: comment linking the request.
  • Duplicate close uses GitHub's state_reason: duplicate for issues.
  • Docs: docs/release-flow.md "Trusted reviewers".

Touches .github/: for the orchestrator to review and merge by hand, not queued. actionlint is clean on the new workflow (it still reports older issues in game-build, launcher and parity-main, untouched here). python3 -m unittest discover -s tests is green. Live test on an issue after the merge.

pr_ready

Check Result
Scope ✅ 8 files, +599 −15
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 398 passed (47 s)
Rust checks ➖ no Rust change
Parity ➖ 1 affected, to run in CI (--quick): 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/2910 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/triage-commands` --- ### 📝 Commits (1) - [`d87b081`](https://github.com/horizon-rust/horizon/commit/d87b081c3471e2aaaa62db53f4d60430845cbd42) Trusted reviewers triage on GitHub: /close, /reopen, /label, /unlabel ### 📊 Changes **8 files changed** (+599 additions, -15 deletions) <details> <summary>View changed files</summary> ➖ `.github/nightly-reviewers.txt` (+0 -7) ➕ `.github/trusted-reviewers.txt` (+8 -0) 📝 `.github/workflows/nightly-command.yml` (+2 -2) ➕ `.github/workflows/triage-command.yml` (+48 -0) 📝 `docs/release-flow.md` (+30 -4) ➕ `tests/test_triage_command.py` (+239 -0) 📝 `tools/ci/nightly_set.py` (+2 -2) ➕ `tools/ci/triage_command.py` (+270 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Trusted reviewers can triage straight on GitHub with comment commands (kacpherek's request; their agents work on GitHub, not Discord). - `/close [completed|not planned]`, `/close duplicate of #N`, `/reopen`, `/label a, b`, `/unlabel a`, on the first line of a comment. - `.github/nightly-reviewers.txt` is renamed `.github/trusted-reviewers.txt`: one list for `/nightly` and the triage commands. `paused` stops both for reviewers; Ludovic is always allowed. - `tools/ci/triage_command.py` + `.github/workflows/triage-command.yml`: copies `/nightly`'s shape (main's copy, sparse checkout, `persist-credentials: false`, comment and login only through env vars, `issues`/`pull-requests: write`, `contents: read`). No PR code is checked out or run. - Refused with a one-line answer: labels containing `release`, `full-parity`; Ludovic's own issues/PRs; merged PRs; locked threads; more than 60 actions per reviewer per 24 h (counted from the workflow's own comments). Labels must already exist. - Every action or refusal answers with one `🤖 Triage:` comment linking the request. - Duplicate close uses GitHub's `state_reason: duplicate` for issues. - Docs: `docs/release-flow.md` "Trusted reviewers". Touches `.github/`: for the orchestrator to review and merge by hand, not queued. `actionlint` is clean on the new workflow (it still reports older issues in game-build, launcher and parity-main, untouched here). `python3 -m unittest discover -s tests` is green. Live test on an issue after the merge. **pr_ready** | Check | Result | | --- | --- | | Scope | ✅ 8 files, +599 −15 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 398 passed (47 s) | | Rust checks | ➖ no Rust change | | Parity | ➖ 1 affected, to run in CI (--quick): 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:07:10 +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#4684
No description provided.