Files
codex/codex-rs
Owen Lin cffa2fddad Omit the turn-aborted marker when a turn goes to sleep (#65341)
## Why

When a turn wakes after a planned sleep, a synthetic `<turn_aborted>`
message makes the previous turn look interrupted to the model.

## What changed

Skip the model-facing marker for `InterruptIfNoPendingInput`. Continue
flushing the rollout before emitting `TurnAborted` so clients can read
the latest history when they receive the event.

## Testing

Extend the abort lifecycle test to check that the wake-up request
contains the prior agent message and omits the `<turn_aborted>` marker.

GitOrigin-RevId: fd5deb7f926551fa15edd4bab7d83c81842e4270
2026-12-02 21:50:29 +00:00
..
…
…
…
…