mirror of
https://github.com/openai/codex.git
synced 2026-11-14 21:40:39 +00:00
## Why Opening another Cloud task can fail while loading its history. Keep the current chat, draft, and reply stream intact until the replacement is ready. ## What changed - Prepare Cloud resumes with a scoped history handle and commit the attachment only after initial history hydration succeeds. - Discard abandoned or failed preparations, reuse healthy existing attachments, and preserve buffered events through the handoff. - Route Command Center task selections through the owning backend, including tasks found only in history search. ## Testing Add regression coverage for failed history loading preserving the chat and draft, prepared stream handoffs and cancellation, backend routing, and history requests completing while a large reply stream remains unread. GitOrigin-RevId: 67aab50bad4e9ce9216716da459fd5447f133ae1