mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## Why Recording a declined command approval can delay a subsequent Stop request while other commands in the same turn are still running. ## What changed If Stop is next in the submission queue, interrupt the active turn while the decline is still being recorded. Consume Stop only if it interrupts that turn, and leave other submissions in order. ## Testing Extend the approval cancellation regression test to cover declining a command and then pressing Stop. The test checks that a running sibling command stops before the decline is recorded and that output from a completed sibling remains available in the next turn. GitOrigin-RevId: 9f08cb35f96e497d95eaa0aefb039ca9729761e7