What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.325.31654 (1272)
What subscription do you have?
Pro
What platform is your computer?
Darwin 25.1.0 arm64 arm
What issue are you seeing?
I had a bunch of open threads (not archived) open in the Codex app, after a restart they are all gone in the UI, but still present on disk.
Except the pinned threads, somehow they remain.
From Codex itself:
The first bad loads show up on April 4, 2026 at 12:23:38Z in codex-desktop log (line 1858). Your user config in config.toml was last modified at April 4, 2026 23:15:11, and the current app bundle app.asar is from March 28, 2026. So the timing does not fit “we changed config, then sessions broke.”
What the source shows: this is a Codex Desktop subagent-thread bug. I extracted the renderer chunk to app-server-manager-hooks.js. In there, the app hydrates spawned/collab receiver threads with a thread/read using includeTurns:false, and separately the turn/started handler just errors out if the conversation is not already in memory. That creates a race. Your logs match it exactly: for this spawned session (line 1), the session is created at 18:57:21.934Z, then the log (line 21320) shows thread/read, and 95ms later the same log (line 21321) shows Received turn/started for unknown conversation, followed by No turns for conversation. That means the child thread starts emitting turn events before the renderer has inserted conversation state.
There’s a second real bug in the bundle too: the desktop code parses source.subAgent, but your stored thread/session metadata is source.subagent lowercase in state_5.sqlite and the session files. That likely breaks subagent-specific UI wiring, but it looks older and latent. The race above is the thing that matches today’s failure pattern.
More clanker slop:
After restarting Codex App, almost all previous sessions stopped loading. The only old sessions that still seem to load are pinned ones.
Important detail: this does not look like session data was deleted. The session files still exist locally on disk, but the app fails to load them after restart.
From the app logs, the failure pattern looks like this:
- the app successfully reads the thread
- then it immediately treats incoming turn/item events as belonging to an unknown conversation
- then it reports that there are no turns / no conversation state for that same conversation
Example from the logs for conversationId=019d59db-5e0a-74c3-88a0-686072ee40fe:
- 2026-04-04T18:57:22.374Z: response_routed ... method=thread/read conversationId=019d59db-5e0a-74c3-88a0-686072ee40fe
- 2026-04-04T18:57:22.469Z: Received turn/started for unknown conversation conversationId=019d59db-5e0a-74c3-88a0-686072ee40fe
- 2026-04-04T18:57:23.416Z: No turns for conversation conversationId=019d59db-5e0a-74c3-88a0-686072ee40fe
Another example for conversationId=019d5918-fa4e-74d1-9ed2-cb69be48e455:
- 2026-04-04T15:25:02.606Z: Received turn/started for unknown conversation conversationId=019d5918-fa4e-74d1-9ed2-cb69be48e455
- 2026-04-04T15:25:03.452Z: Received item/started for unknown conversation conversationId=019d5918-fa4e-74d1-9ed2-cb69be48e455
- 2026-04-04T15:25:03.452Z: Received item/completed for unknown conversation conversationId=019d5918-fa4e-74d1-9ed2-cb69be48e455
- 2026-04-04T15:25:03.840Z: Conversation state not found conversationId=019d5918-fa4e-74d1-9ed2-cb69be48e455
So the user-visible symptom is:
- restart app
- pinned sessions still load
- non-pinned previous sessions mostly or entirely fail to load
- local session data still exists
- logs suggest the app is reading thread metadata but failing to reconstruct / retain conversation state
What steps can reproduce the bug?
Uploaded thread: 019d59e6-805e-7f53-af2e-d474db002e07
What is the expected behavior?
All the threads on disk load in the app 😁
Additional information
No response
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.325.31654 (1272)
What subscription do you have?
Pro
What platform is your computer?
Darwin 25.1.0 arm64 arm
What issue are you seeing?
I had a bunch of open threads (not archived) open in the Codex app, after a restart they are all gone in the UI, but still present on disk.
Except the pinned threads, somehow they remain.
From Codex itself:
More clanker slop:
What steps can reproduce the bug?
Uploaded thread: 019d59e6-805e-7f53-af2e-d474db002e07
What is the expected behavior?
All the threads on disk load in the app 😁
Additional information
No response