mirror of
https://github.com/openai/codex.git
synced 2026-12-06 01:10:58 +00:00
## Why A grandchild's completion can arrive while the worker is completing its response, triggering an extra sampling request to drain the message. The cold root resume test previously allowed only one worker completion request. ## What changed Match worker completion requests by the nested spawn's `function_call_output` and allow one or two requests. Scope the mock to the initial worker's lifetime and drop it before the follow-up phase. GitOrigin-RevId: 10e0a429e6e1f51b5f04a86e3351c5fa4df9cb66