[macOS Desktop 26.1007] Blank ghost chats keep appearing and fail to resume with missing rollout
What version of the Codex App are you using (From “About Codex” dialog)?
26.1007.30912 (build 20156, production).
Bundled engine: 0.162.0-alpha.17.2.
The built-in update check reported up to date on October 11, 2026.
What subscription do you have?
Not collected during this investigation.
What platform is your computer?
macOS 27.0.1 (26A434), Apple Silicon / arm64. Local desktop execution.
What issue are you seeing?
Blank chats, named after local directories, appear after several minutes and keep accumulating. Selecting an affected entry shows:
Failed to resume chat
failed to resolve rollout path `/Users/<user>/.codex/sessions/2026/10/11/rollout-2026-10-11T17-26-12-<thread-id>.jsonl`: file does not exist
Archiving the example entry also fails with no rollout found for thread id .... Fully quitting and reopening the app does not prevent recurrence.
The affected entries appear to be unsaved or stale desktop-created threads. A read-only consistency check found 1,347 saved engine threads and zero missing referenced rollout files. The example broken thread ID was absent from the saved thread database, desktop local catalog, history turns, and both active and archived session files.
What steps can reproduce the bug?
Observed on the existing profile:
- Open and use Codex Desktop normally.
- After several minutes, blank directory-named chats appear and accumulate.
- Select one: resuming fails with the missing-rollout error above.
- Attempt to archive it: that also fails.
- Fully quit and reopen the app; the issue recurs.
The exact trigger and a clean-profile reproduction of the spontaneous sidebar accumulation are not yet known.
A separate isolated test with the bundled engine and a temporary CODEX_HOME demonstrates the backend error mechanism:
- Call
thread/startfor an empty, non-ephemeral thread; retain the returned rollout path. - Call
thread/deletefor that scratch thread. - Call
thread/resumeusing the retained path. - Receive
-32600and the same missing-rollout error.
No sync command, bucket access, or model turn was involved. A control that started an empty thread and restarted the engine without deleting it resumed successfully. This test does not reproduce the spontaneous sidebar accumulation.
What is the expected behavior?
Only valid user-facing chats should appear in the sidebar. Discarded preparatory threads should not remain as ordinary chats, and an invalid stale entry should be removable even when no rollout exists.
Additional information
Example lifecycle from local logs, October 11, 2026, UTC (paths and IDs redacted):
| Time | Observation |
|---|---|
| 21:26:12 | Client named Codex Desktop starts the example thread; a hidden desktop window captures its browser-session route at the same time. |
| 21:37:17 | Engine tears down that thread with had_active_turn=false. |
| 21:38:31 | Desktop attempts to read/resume it and fails because the rollout is missing. |
Six similar desktop-created IDs were absent from persisted state during the investigation.
External sync was investigated as a possible confounder. This installation uses codex-sync v0.1.1. Its last recorded pull/desktop refresh was at 18:43:17 UTC, hours before the example thread was created. No codex-sync process was running, no codex-sync LaunchAgent was installed, and sync timestamps did not advance during the investigation. All 1,342 thread IDs in the pre-refresh backup remained present; five additional saved threads existed by the final check. At catalog inspection, all 74 local catalog entries referred to saved engine threads. These checks found no missing transcripts among persisted threads; they do not prove that all historical external actions are irrelevant.
Unconfirmed hypothesis: unused prewarmed threads may leak into sidebar state. Inspection of the installed desktop code found a 285-second prewarm freshness window and cleanup of unused/replaced prewarms through thread/delete. Logs establish desktop creation and idle teardown of the example, but do not establish that this particular teardown was a prewarm deletion. Hidden/visible window event handling may be relevant. Please treat this as an investigation lead, not a confirmed root cause.
Related reports:
- #29868 (closed): closely similar ghost chats that cannot be resumed or archived; this report documents recurrence on the current build.
- #42628 (open): stale unified-catalog entries after deletion. Here, the example ID was absent from the local catalog, and all saved threads still referenced existing rollouts.
Live Codex data was inspected read-only. No sync, desktop refresh, database repair, or reset was performed during this investigation. Raw screenshots/logs are omitted to avoid exposing local paths and unrelated conversation content.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #52613
Powered by Codex Action
This matches a mechanism we just isolated on macOS desktop 26.1111.21308 (engine 0.169.0-alpha.11.1), measured from the engine's own otel spans in ~/.codex/logs_2.sqlite (otel.name="thread/start", app_server.connection_id, app_server.client_name, rpc.request_id):
- Opening a new chat already issues
thread/start(client_name="Codex Desktop",connection_id=0). - The first send issues a second
thread/start, and the user message (turn_input) is dispatched into that second thread 277–330 ms after it was created. The first thread never receives a turn. - The leftover thread stays at
0turns and is absent fromthread/list, so selecting it behaves exactly like theno rollout found/ missing-rollout symptom here. In one sample it had an empty rollout file (0turn_contextrecords) instead of a missing one.
4/4 reproductions across two app sessions (7.6 s–49.7 s between opening the composer and sending). Thread-id tables, span excerpts and the ruled-out cases are in #62541.