mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
## Why Nested tool calls can finish just after a long code-mode yield deadline, causing an `exec` or `wait` response to yield instead of returning the completed result. ## What changed - Add a one-second grace period to `exec` and `wait` yield timeouts of at least ten seconds. - Preserve the exact requested timeout for shorter yields. ## Testing Add paused-time coverage for the timeout threshold and for nested tools that complete during the grace period in both `exec` and `wait`. GitOrigin-RevId: 403f587e07e2cde88c86424e46b0eff96ac8c409