Files
codex/codex-rs/tui
Eric Traut 2f83e4843f Surface session lookup errors in the TUI (#64014)
## Why

Looking up a session by ID treated every `thread/read` failure as a
missing session, hiding errors such as unreadable session metadata.

## What changed

Startup resume and fork report lookup failures after cleaning up the
app-server session. In an active TUI, `/resume` displays lookup errors
in the current chat or invokes transport recovery when applicable. If
a Cloud chat must be opened first, `/resume` directs the user to run
the command without an ID and select the chat from the picker.

## Testing

Add regression coverage for missing and unreadable sessions, preserving
the active session after a failed lookup, and showing picker guidance
for an unopened Cloud chat.

GitOrigin-RevId: dddac289a2959133809c050b8701975ab474ef13
2026-11-25 22:54:19 +00:00
..