mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## Why A review can fail before the UI receives the event that enters review mode. Failed-turn completion also needs to preserve the running indicator when a queued `/review` has already been submitted and is awaiting startup. ## What changed - Emit the review-entry lifecycle before starting the review task, after aborting existing tasks and clearing connector selection. - When a live failed-turn completion repeats an already handled error, refresh task state only if no user turn is pending startup, and continue processing queued input. ## Testing Add regression tests for lifecycle ordering on a server-overload response and for preserving the running indicator while a queued review awaits startup after a failed turn. GitOrigin-RevId: 0f91d3d1a1a983542c54c2686630de9c232321b1