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

未关闭
#2,976 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, rust
领域
devtools

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.
主要语言
Rust
星标
532
派生
56
平均合并
11 小时 20 分钟
30 天内合并 PR
282

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

torrust/torrust-tracker 的其他 Issue

查看 torrust/torrust-tracker 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。