Skip to content

Use RPC budget for Codex turn start - #596

Merged
SaladDay merged 1 commit into
aos/cutoverfrom
aos/use-rpc-budget-for-codex-turn-start
Oct 8, 2026
Merged

SaladDay merged 1 commit into
aos/cutoverfrom
aos/use-rpc-budget-for-codex-turn-start

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

A live second Turn failed because turn/start imposed its own 10-second acknowledgement deadline, even though the configured RPC response budget was still available. Use that existing RPC budget and the caller’s cancellation context for turn/start. Native result binding, uncertain Turn ownership, settlement, cleanup and the prohibition on input replay stay intact.

Validation: the same 11-second acknowledgement fails against the old implementation and succeeds after the change. Configured short-budget and parent-cancellation tests verify the exact owned Turn, one input submission, failed settlement and process cleanup; these and existing ordering/cancellation/ownership regressions pass race ×50. Full Codex package, vet/build, Darwin/Windows builds and hygiene checks pass. The live cause of the delayed acknowledgement remains unmeasured; this PR does not claim a completed native qualification.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@SaladDay
SaladDay merged commit c72ac41 into aos/cutover Oct 8, 2026
20 checks passed
@SaladDay
SaladDay deleted the aos/use-rpc-budget-for-codex-turn-start branch October 8, 2026 20:34
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.

1 participant