feat: add /runners-check command for quick queue health diagnostics#676
feat: add /runners-check command for quick queue health diagnostics#676marcusquinn merged 1 commit intomainfrom
Conversation
Lightweight slash command that shows batch status, open PRs needing merge, stuck tasks, system resources, and cron pulse health. Groups with /runners in autocomplete. Supports --fix flag for auto-resolving simple issues (merge green PRs, clean stale worktrees).
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
WalkthroughThis pull request adds a new Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Sun Feb 8 22:08:25 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @.agents/scripts/commands/runners-check.md:
- Line 35: Add a blank line immediately before each level-3 heading (the lines
starting with "###") so headings like "### Batch Status" and the other h3
headings referenced are surrounded by a blank line above them to satisfy MD022;
update every "###" heading in the document accordingly.
🧹 Nitpick comments (1)
.agents/scripts/commands/runners-check.md (1)
11-29: Consider showing explicit parallel execution syntax.Line 13 instructs to "Run these commands in parallel" but shows sequential command examples. For true parallel execution, consider adding a note about using background jobs or the
parallelcommand:# Option 1: Background jobs supervisor-helper.sh status 2>&1 & gh pr list ... & git worktree list 2>/dev/null & supervisor-helper.sh db "..." & wait # Option 2: GNU parallel (if available) parallel ::: \ "supervisor-helper.sh status 2>&1" \ "gh pr list ..." \ "git worktree list 2>/dev/null" \ "supervisor-helper.sh db '...'"However, if the intent is for the Build+ agent to execute these conceptually in parallel (via its own orchestration), the current format is acceptable as documentation.
|
|
||
| Present results as a concise dashboard: | ||
|
|
||
| ### Batch Status |
There was a problem hiding this comment.
Fix markdown heading format (MD022 violations).
Headings should be surrounded by blank lines. Add a blank line before each of these h3 headings:
📝 Proposed fix for markdown formatting
Present results as a concise dashboard:
+
### Batch Status
- Batch name, total/completed/queued/running/failed counts
- Any tasks stuck in retrying or evaluating for >10 minutes
+
### Action Items
Flag these for the user (most important first):
1. **PRs ready to merge** — all CI green, no review comments
2. **PRs with CI failures** — need investigation
3. **Tasks stuck** — in retrying/evaluating too long
4. **Tasks at max retries** — need manual intervention or re-queue
5. **Stale worktrees** — for tasks already deployed/merged
+
### System Health
- Load, memory, worker count
- Cron pulse status: `~/.aidevops/agents/scripts/supervisor-helper.sh cron status 2>&1`Also applies to: 39-39, 47-47
🧰 Tools
🪛 GitHub Check: Codacy Static Code Analysis
[notice] 35-35: .agents/scripts/commands/runners-check.md#L35
Expected: 1; Actual: 0; Below
🪛 markdownlint-cli2 (0.20.0)
[warning] 35-35: Headings should be surrounded by blank lines
Expected: 1; Actual: 0; Below
(MD022, blanks-around-headings)
🤖 Prompt for AI Agents
In @.agents/scripts/commands/runners-check.md at line 35, Add a blank line
immediately before each level-3 heading (the lines starting with "###") so
headings like "### Batch Status" and the other h3 headings referenced are
surrounded by a blank line above them to satisfy MD022; update every "###"
heading in the document accordingly.



Summary
/runners-checkslash command for quick supervisor queue diagnostics/runnersin autocomplete for discoverability--fixflag for auto-resolving simple issues (merge green PRs, clean stale worktrees)Usage
Summary by CodeRabbit
Release Notes
New Features
Documentation