mirror of
https://github.com/openai/codex.git
synced 2026-11-12 21:20:34 +00:00
## Why An aborted turn could remain active, and a late abort for an unknown turn could interrupt a different turn with an explicit ID. ## What changed Finalize the active turn after applying an abort. Only fall back to the active turn when the abort lacks a turn ID or the active turn has a generated ID. ## Testing Extend regression coverage to verify that a late abort preserves a review turn's ID and completed status, and that repeating `turn/interrupt` returns `no active turn to interrupt`. GitOrigin-RevId: 73072dda7879bd50b1013f4a0bbf1b68546f2619