diff options
| author | hathach <[email protected]> | 2026-06-11 19:41:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-06-11 19:41:51 +0700 |
| commit | c9cfd829f6a793b227f4e52df29337f2a8530ce7 (patch) | |
| tree | e3b4cb972702954b082275a273bd7cd8f8384f38 /src | |
| parent | 0244a4f12e019406a4b73c75cd96f8efa096bbdc (diff) | |
ci(claude-review): raise --max-turns 20 -> 50
The Claude Code Review action runs /code-review:code-review with a hard
--max-turns cap. On large PRs (e.g. #3636 "add stm32c5 support", 29 files
/ +1689), the agent exhausts 20 turns exploring the diff before it can
produce and post its review, so the SDK returns an error and the
claude-review check fails red with:
Reached maximum number of turns (20)
Raise the cap to 50 so port-sized PRs complete and post their review.
Cost scales with tokens, not the cap: a finished review pays the same
whether the ceiling is 25 or 50 — the cap only bites when the agent
would otherwise be force-stopped mid-run.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
