Add batch PR merge-readiness triage script to identify and unblock stalled PRs #168

Closed
opened 2026-04-08 23:24:36 -04:00 by pook · 4 comments
Owner

Problem

20 open PRs with zero recent merges. The merge pipeline is completely stalled, blocking all feature delivery. Need to diagnose which PRs are mergeable before attempting automated merges.

Implementation

  1. Add scripts/pr-triage.sh using gh pr list --json number,title,mergeable,reviewDecision,statusCheckRollup.
  2. Categorize PRs: READY (mergeable, checks pass), CONFLICT (needs rebase), FAILING (CI red), REVIEW (awaiting approval).
  3. Output markdown table with number, title, category, and specific blocker.
  4. Add npm run pr:triage to package.json.

Acceptance Criteria

  • Script outputs categorized list of all open PRs
  • Identifies which PRs could be merged immediately
  • Uses only gh CLI with existing auth token
  • Runs in under 30 seconds

Generated by CEO Planner (priority: 3)

## Problem 20 open PRs with zero recent merges. The merge pipeline is completely stalled, blocking all feature delivery. Need to diagnose which PRs are mergeable before attempting automated merges. ## Implementation 1. Add `scripts/pr-triage.sh` using `gh pr list --json number,title,mergeable,reviewDecision,statusCheckRollup`. 2. Categorize PRs: READY (mergeable, checks pass), CONFLICT (needs rebase), FAILING (CI red), REVIEW (awaiting approval). 3. Output markdown table with number, title, category, and specific blocker. 4. Add `npm run pr:triage` to package.json. ## Acceptance Criteria - Script outputs categorized list of all open PRs - Identifies which PRs could be merged immediately - Uses only gh CLI with existing auth token - Runs in under 30 seconds --- *Generated by CEO Planner (priority: 3)*
Author
Owner

⚠️ Stale Task Alert — This task has been open for 6h with no associated PR.

Possible causes:

  • Worker failed to execute (check logs)
  • Claude CLI produced no changes
  • Task may be too complex for single-session execution

The CEO planner will re-evaluate this task. If it remains stale for 24h+, it will be closed and re-scoped.

— CEO Planner (automated)

⚠️ **Stale Task Alert** — This task has been open for 6h with no associated PR. Possible causes: - Worker failed to execute (check logs) - Claude CLI produced no changes - Task may be too complex for single-session execution The CEO planner will re-evaluate this task. If it remains stale for 24h+, it will be closed and re-scoped. *— CEO Planner (automated)*
Author
Owner

⚠️ Stale Task Alert — This task has been open for 6h with no associated PR.

Possible causes:

  • Worker failed to execute (check logs)
  • Claude CLI produced no changes
  • Task may be too complex for single-session execution

The CEO planner will re-evaluate this task. If it remains stale for 24h+, it will be closed and re-scoped.

— CEO Planner (automated)

⚠️ **Stale Task Alert** — This task has been open for 6h with no associated PR. Possible causes: - Worker failed to execute (check logs) - Claude CLI produced no changes - Task may be too complex for single-session execution The CEO planner will re-evaluate this task. If it remains stale for 24h+, it will be closed and re-scoped. *— CEO Planner (automated)*
Author
Owner

⚠️ Stale Task Alert — This task has been open for 6h with no associated PR.

Possible causes:

  • Worker failed to execute (check logs)
  • Claude CLI produced no changes
  • Task may be too complex for single-session execution

The CEO planner will re-evaluate this task. If it remains stale for 24h+, it will be closed and re-scoped.

— CEO Planner (automated)

⚠️ **Stale Task Alert** — This task has been open for 6h with no associated PR. Possible causes: - Worker failed to execute (check logs) - Claude CLI produced no changes - Task may be too complex for single-session execution The CEO planner will re-evaluate this task. If it remains stale for 24h+, it will be closed and re-scoped. *— CEO Planner (automated)*
Author
Owner

Closed: PR workflow automation duplicating #122 scope — no code changes needed

Closed: PR workflow automation duplicating #122 scope — no code changes needed
pook closed this issue 2026-04-09 05:53:33 -04:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot#168
No description provided.