Remove --max-turns limit from review panel workflow - #457
Conversation
The review panel was hitting the 50-turn cap and failing. This follows the same change made in #456 for the issue_solver and pr_followup workflows. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 16 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✨ 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 |
PR Summary by QodoRemove max-turns cap from review panel GitHub Actions workflow
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
136 rules✅ Skills:
|
| show_full_output: true | ||
| claude_args: | | ||
| --allowedTools Edit,Write,Read,Bash,WebFetch,WebSearch,Skill,Glob,Grep,TaskCreate,TaskUpdate,TaskList,TaskGet | ||
| --max-turns 50 | ||
| --model claude-opus-5 | ||
|
|
There was a problem hiding this comment.
1. Unbounded panel review runtime 🐞 Bug ☼ Reliability
Removing --max-turns from skillsaw-review-panel.yml leaves the Claude run without an explicit iteration bound or job timeout, so a stalled/looping session can consume the full Actions runtime and delay subsequent panel-review triggers for the same PR due to the workflow’s concurrency grouping.
Agent Prompt
## Issue description
The review panel workflow no longer passes a `--max-turns` guard, and the job also doesn’t set `timeout-minutes`. This makes the run length depend on external defaults and GitHub Actions hard limits, increasing the chance that a loop/stall consumes excessive runtime and delays later triggers.
## Issue Context
Other Skillsaw workflows in this repo still use an explicit turn cap (e.g., `--max-turns 200`), indicating a convention to keep agent runs bounded.
## Fix Focus Areas
- .github/workflows/skillsaw-review-panel.yml[7-9]
- .github/workflows/skillsaw-review-panel.yml[33-45]
### Suggested fix
- Add a job-level `timeout-minutes` (e.g. 60–120) to cap worst-case runtime.
- Optionally reintroduce a higher `--max-turns` value (e.g. 200) instead of removing it entirely, matching other workflows’ guardrails.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #457 +/- ##
=======================================
Coverage 93.54% 93.54%
=======================================
Files 145 145
Lines 11418 11418
=======================================
Hits 10681 10681
Misses 737 737 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
--max-turns 50constraint from theskillsaw-review-panel.ymlworkflowissue_solverandpr_followupworkflowsTest plan
panel-reviewlabel trigger🤖 Generated with Claude Code