Eric Traut and GitHub
9d88e299a7
Print TUI session info on fatal exits ( #27417 )
...
## Summary
TUI exits printed the resume/session summary only after checking the
exit reason. On fatal exits, both CLI wrappers wrote the error and
called `process::exit(1)` immediately, so an active session that ended
on a fatal error could skip the session information entirely.
This change prints the normal exit summary before returning the fatal
nonzero exit code. If a fatal exit has a known thread id but no
resumable rollout hint, it prints `Session ID: <id>` instead of staying
silent. It also flushes stdout before `process::exit(1)` so the summary
line is not lost during process teardown.
## Implementation
- Apply the fatal-exit ordering fix in both `codex` and standalone
`codex-tui`.
- Keep normal user-requested exit behavior unchanged.
- Preserve the existing resume hint when a rollout is resumable, and use
the raw thread id only as a fatal-exit fallback.
2026-06-11 09:56:09 -07:00
..
2026-06-08 11:39:08 +02:00
2026-06-09 12:48:04 -07:00
2026-05-26 20:59:47 -07:00
2026-05-07 15:44:17 -07:00
2026-06-11 09:55:53 -07:00
2026-05-07 15:44:17 -07:00
2026-06-11 14:03:53 +02:00
2026-06-11 09:23:08 -07:00
2026-05-25 09:41:12 -07:00
2026-06-10 20:42:38 -07:00
2026-05-28 14:54:39 -07:00
2026-06-10 20:42:38 -07:00
2026-06-01 18:45:07 +00:00
2026-06-03 19:08:19 -07:00
2026-05-07 15:44:17 -07:00
2026-05-08 04:07:59 +00:00
2026-06-05 14:43:44 +00:00
2026-06-09 22:44:16 +02:00
2026-06-11 09:56:09 -07:00
2026-06-10 23:42:15 -07:00
2026-05-07 15:44:17 -07:00
2026-05-07 15:44:17 -07:00
2026-05-07 15:44:17 -07:00
2026-06-04 09:39:20 -07:00
2026-06-10 20:42:55 -07:00
2026-06-01 21:25:42 -07:00
2026-05-26 20:59:47 -07:00
2026-05-07 15:44:17 -07:00
2026-06-11 11:28:16 +02:00
2026-05-07 15:44:17 -07:00
2026-06-10 12:54:21 +02:00
2026-05-28 22:08:05 -07:00
2026-06-03 13:32:55 +02:00
2026-06-11 12:41:44 +02:00
2026-06-09 00:38:35 +00:00
2026-06-10 20:57:35 -07:00
2026-06-11 13:51:04 +02:00
2026-06-05 15:41:13 -07:00
2026-06-09 12:27:10 -07:00
2026-06-09 15:10:17 -07:00
2026-06-07 17:35:33 -07:00
2026-06-07 17:35:33 -07:00
2026-06-11 14:03:53 +02:00
2026-06-04 14:16:03 -04:00
2026-06-08 14:16:32 -04:00
2026-06-11 10:07:19 +00:00
2026-05-26 15:59:25 -07:00
2026-05-07 15:44:17 -07:00
2026-06-01 11:53:31 -07:00
2026-05-28 23:09:55 -07:00
2026-06-08 21:32:46 -07:00
2026-06-02 13:18:59 -07:00
2026-06-03 19:08:19 -07:00
2026-05-07 15:44:17 -07:00
2026-06-05 09:34:36 -07:00
2026-05-07 15:44:17 -07:00
2026-06-10 20:42:38 -07:00
2026-06-09 12:14:48 +02:00
2026-06-10 08:47:16 -07:00
2026-06-04 09:53:08 -04:00
2026-06-10 20:42:38 -07:00
2026-06-05 17:36:18 -07:00
2026-06-10 20:42:55 -07:00
2026-06-09 13:08:01 -07:00
2026-06-04 09:53:08 -04:00
2026-06-10 20:42:38 -07:00
2026-05-21 16:11:59 -07:00
2026-05-25 17:26:10 -03:00
2026-06-03 13:32:55 +02:00
2026-06-11 04:11:26 +00:00
2026-05-07 15:44:17 -07:00
2026-05-07 15:44:17 -07:00
2026-06-09 15:49:48 -07:00
2026-06-11 04:11:26 +00:00
2026-06-09 12:14:48 +02:00
2026-06-08 14:03:37 -07:00
2026-05-26 20:59:47 -07:00
2026-05-07 15:44:17 -07:00
2026-06-05 09:38:26 -07:00
2026-05-07 15:44:17 -07:00
2026-05-28 15:11:11 +00:00
2026-06-11 04:11:26 +00:00
2026-05-07 15:44:17 -07:00
2026-05-13 21:23:19 +00:00
2026-05-07 15:44:17 -07:00
2026-06-10 12:54:21 +02:00
2026-06-10 11:22:12 -07:00
2026-06-11 12:38:04 +02:00
2026-06-11 09:56:09 -07:00
2026-05-07 15:44:17 -07:00
2026-06-10 21:17:32 -07:00
2026-05-18 21:33:05 -07:00
2026-06-04 16:52:10 -07:00
2026-06-11 14:03:53 +02:00
2026-06-09 22:44:16 +02:00
2026-06-08 11:39:08 +02:00
2026-06-04 09:16:03 -07:00
2026-05-26 20:59:47 -07:00