mirror of
https://github.com/openai/codex.git
synced 2026-10-26 18:38:47 +00:00
## Why Saving a manual thread name leaves pending title generation running and its progress indicator visible until the request finishes. ## What changed - Cancel pending title requests after a successful manual rename, including renames from the agents overview, and clear the progress indicator immediately. - Interrupt canceled title-generation turns and unsubscribe their temporary threads. Ignore late start and completion events so canceled requests cannot affect newer requests. - Cancel pending title requests when resetting connection state. - Show only a spinner when generating a title without an existing name, removing the `renaming...` placeholder. ## Testing Add regression tests for manual and overview renames that verify turn interruption, cleanup, and preservation of the saved name. Cover late events after cancellation and update footer and terminal-title snapshots for the spinner-only display. GitOrigin-RevId: f9490ea7be9968ea6c35d80bfbac06fee57d0135