`wait-for-pr-review`: report workflow runs that wait for a maintainer's approval

Aperta
#2,976 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, rust
Ambito
devtools

Direzione di ricerca

Start by locating the wait-for-pr-review poller and skill, then read ADR 20260926142648_adopt_self_hosted_hetzner_runner_for_container_tests.md and parent issue #2003. Verify the reported action_required behavior and how the repository's harness wakes a session after a background poller exits. Done means the specification and EPIC row define both events and their handling, with coordination for the poller defects.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Goal

Make the wait-for-pr-review poller report when a pull request's workflow runs wait for a maintainer's approval, and when they start, so a waiting session can tell the maintainer once and be woken when the runs are unblocked.

Problem

A pull request from a fork needs a maintainer to approve its workflow runs after every push. This is deliberate (ADR 20260926142648_adopt_self_hosted_hetzner_runner_for_container_tests.md). The runs then show as action_required. The poller has no event for that state (checked on develop at 7bc30738a: the tool's code does not mention action_required). A session that waits for checks sees nothing happen, and nothing wakes it when the maintainer approves.

Proposed scope

  • Two poller events: checks_waiting_approval (runs of the head commit are action_required; carries the head sha) and checks_unblocked (the runs started).
  • The wait-for-pr-review skill says what to do on each: tell the maintainer once per head commit, then keep waiting.
  • To verify in the specification: that a background poller exiting really wakes the waiting session in the harness the repository uses.
  • Coordinate with any open defect of the poller (earlier notes name two: waiting without limit for a gh call that already exited, and a panic on a too-large --timeout-seconds; their issue numbers were not found).

This is item A2 of the maintainer's backlog for the autonomous PR review loop, which lives outside this repository. A1 was #2822.

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.
Lingua principale
Rust
Stelle
532
Fork
56
Merge medio
11h 20m
PR unite (30g)
282

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di torrust/torrust-tracker

Tutte le issue di torrust/torrust-tracker

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.