Commit 10d3a2e
fix(smoke-claude): raise turn budget to 8 and fix add_comment usage (#5328)
* fix(smoke-claude): raise turn budget to 8 and fix add_comment usage
The Smoke Claude job was failing with "403 Maximum LLM invocations
exceeded (5 / 5)". The agent burned one of only five api-proxy runs on
an empty-args `add_comment` schema probe (`safeoutputs add_comment .`
with JSON piped via stdin yields `args: {}`, rejected by MCP), and the
cumulative cap left no room to retry.
Two-pronged fix:
- Raise `max-turns` 5 -> 8 for headroom (expands to --max-turns,
GH_AW_MAX_TURNS, and apiProxy maxRuns).
- Add explicit prompt guidance to pass `add_comment` arguments inline as
a single JSON object and never pipe JSON via stdin or pass `.`.
Recompiled the lock and re-ran the smoke post-processing script. Updated
smoke-claude-workflow.test.ts assertions accordingly.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: address smoke claude review feedback
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>1 parent 29f8e2a commit 10d3a2e
3 files changed
Lines changed: 11 additions & 9 deletions
File tree
- .github/workflows
- scripts/ci
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| |||
0 commit comments