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

Abierto
#2,981 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
github, rust
Área
cli, devtools

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Rust
Estrellas
532
Forks
56
Merge medio
11 h 20 min
PR fusionados (30 d)
282

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de torrust/torrust-tracker

Todos los issues de torrust/torrust-tracker

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.