Skip to content

fix: forward turnTimeoutMs to adversarial-review's runAppServerTurn call - #44

Merged
axisrow merged 1 commit into
mainfrom
fix/38-adversarial-review-turn-timeout
Aug 2, 2026
Merged

fix: forward turnTimeoutMs to adversarial-review's runAppServerTurn call#44
axisrow merged 1 commit into
mainfrom
fix/38-adversarial-review-turn-timeout

Conversation

@axisrow

@axisrow axisrow commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • adversarial-review parsed --turn-timeout-ms but never forwarded it to the underlying runAppServerTurn call, so long reviews silently fell back to the library's 600000ms default (native review and task already forwarded it correctly).
  • Adds the missing turnTimeoutMs: request.turnTimeoutMs field to the adversarial branch's runAppServerTurn call in executeReviewRun.

Closes #38

Test plan

  • Added a regression test (tests/runtime.test.mjs) using the existing stalled-turn-start fixture and a 3s --turn-timeout-ms budget; confirmed it genuinely reproduces the bug pre-fix (measured ~602.5s hang against the 600000ms default before the fix, ~5.6s after).
  • npm test — full suite passes except 3 pre-existing failures unrelated to this change (verified via git stash that they fail identically on main).
  • npm run build — TS build gate passes.

adversarial-review parses --turn-timeout-ms but never applied it, so long
reviews silently fell back to the library's 600000ms default instead of the
requested budget (or the 110000ms foreground default). The native review
path and task path already forwarded turnTimeoutMs correctly; only the
adversarial branch's runAppServerTurn call dropped it.

Closes #38

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

adversarial-review ignores --turn-timeout-ms — turnTimeoutMs not forwarded to runAppServerTurn

1 participant