PR Watch Loop注目
Poll open PRs labeled codex-watch every 15 minutes, review activity, and flag regressions or stale threads.
基本情報
カテゴリ
CI
目標
keep codex-watch PRs healthy and unblocked.
検査コマンド
gh pr list --label codex-watch --json number,title,state,statusCheckRollup
退出条件
status report is delivered for every watched PR.
対応エージェント
Codex, Cursor
起動プロンプト
/loop 15m Start the "PR Watch Loop".
Goal: keep codex-watch PRs healthy and unblocked.
Between iterations run: gh pr list --label codex-watch --json number,title,state,statusCheckRollup
Exit when: status report is delivered for every watched PR.
Step 1: List codex-watch PRs, check CI and reviews, and report or fix trivial blockers.手順
- 1
List watched PRs
List open PRs with the codex-watch label. Summarize CI status, review state, and last activity.
gh pr list --label codex-watch --json number,title,state,statusCheckRollup - 2
Check CI and reviews
For each watched PR, check failing checks, unresolved review comments, and merge conflicts.
- 3
Report or act
Post a brief status update. Fix trivial CI failures or ping the author for blockers.
他のCIのループ
CI Failure Watcher
Poll CI on an interval, investigate failures when checks go red, and push fixes until green.
Fix CI Until Green
Fetch the latest failed CI run, reproduce the failure locally, fix it, and repeat until checks pass.
PR Babysitter
Every 15 minutes, inspect open PRs with a watch label: nudge reviewers, fix CI, rebase if behind main.
Ship PR Until Green
Implement on a branch, run tests, push, open a PR, wait for CI, and loop until checks pass and the PR is ready to merge.
コメント