Files
codex/codex-rs/core/src
Ahmed Ibrahim ad57505ef5 Stabilize interrupted task approval cleanup (#14102)
## Summary
- drain the active turn tasks before clearing pending approvals during
interruption
- keep the turn in hand long enough for interrupted tasks to observe
cancellation first

## Why this fixes the flake
Interrupted turns could clear pending approvals too early, which let an
in-flight approval wait surface as a model-visible rejection before the
turn emitted `TurnAborted`. Reordering the cleanup removes that race
without changing the steady-state task model.
2026-03-09 11:22:51 -07:00
..
2026-03-07 03:48:36 -08:00
2026-03-06 00:03:39 +00:00
2026-03-04 16:41:54 +00:00
2026-03-06 00:03:39 +00:00
2026-03-07 05:40:10 -08:00
2026-02-21 20:08:02 -08:00
2026-03-07 03:48:36 -08:00