Maintainer tools for contributor pull requests: queue, request reviews, approve runs

Đang mở
#2,981 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
github, rust
Lĩnh vực
cli, devtools

Hướng nghiên cứu

Start by reading the parent EPIC #2003 and the design notes referenced in the issue, including #2715. The proposal spans three maintainer CLI tools, with unresolved output and crate rules, and says the specification may split the work; confirm the scope and write the specification before implementation. Done means the scope is specified and the three tools are split into reviewed changes.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Parent EPIC: #2003 - Overhaul: Automation Tools and AI Agent Guardrails

Goal

Give the maintainer small command-line tools for the three actions only a maintainer can take on a contributor's pull request, so they are quick, checked and never run by an agent.

Problem

With agents working as external contributors, every pull request waits for the maintainer several times: to approve workflow runs after each push, to re-request reviews, and to ACK and merge. Today each is done by hand in the web UI or with ad hoc gh commands, and there is no single view of which pull requests wait for him.

Proposed scope

The maintainer decided the tools live in this repository under contrib/dev-tools/, written as maintainer actions. Three tools, each its own change, in this order:

  1. A read-only queue: the open pull requests that need the maintainer and why (runs waiting for approval, review to re-request, ready to ACK).
  2. A request-reviews helper.
  3. An approve-runs helper that first shows whether the push changed sensitive paths (.github/workflows/, build.rs, contrib/, Cargo.lock, container files, scripts) and asks before approving. It goes last and is reviewed separately, because approving runs executes contributor code on the self-hosted runner.

Rules from the design notes: an ACK helper, if any, refuses unless the head sha matches, the checks are green and no thread is open; none of these tools may run non-interactively or be allowlisted for agents.

Open points for the specification: whether the CLI output contract (#2715: tools refuse a terminal on stdout) applies to tools a person runs; new crates follow the .dockerignore and not-in-default-members rules.

These are items D9a to D9c of the maintainer's backlog for the autonomous PR review loop, which lives outside this repository. The specification may split this issue into three.

Notes

  • Not started. The order among the sub-issues is decided when a slot is free. The specification and the EPIC table row are written when the work starts.
  • Filed by the EPIC #2003 coordinator session (AI assistant, Claude Code) on 2026-11-19 at the maintainer's request, so the idea is not lost. The details were recovered from that session's earlier notes; the specification must check them again.
Ngôn ngữ chính
Rust
Star
532
Fork
56
Merge trung bình
11 giờ 20 phút
Pull request đã merge (30 ngày)
282

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của torrust/torrust-tracker

Tất cả issue của torrust/torrust-tracker

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.