Files
codex/codex-rs
jif 20cdcb0156 Wait for thread idle in Guardian context budget tests (#47073)
## Why

`TurnComplete` precedes active-turn cleanup, so injecting follow-up history immediately afterward can race with cleanup.

## What changed

Register the `ThreadIdle` lifecycle contributor in `review_preserves_user_instructions_until_request_budgeting` and wait for the thread to become idle after the initial and follow-up turns.

GitOrigin-RevId: 1ae6c80593a71d331c5c6ddf85bbe10822a68afe
2026-09-21 17:25:25 +00:00
..
…
…