Repository navigation
Conversations disappear from history after restarting Codex App #25397
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.527.30818
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What issue are you seeing?
Description
There is a highly frequent bug where entire conversations completely disappear after restarting the Codex app.
During an active session, everything works normally. The conversations remain visible and I can chat without issues. However, after I quit and restart the Codex App, some of my previous conversations completely vanish from the history list.
This happens very frequently. I have already lost 3 to 4 complete conversations due to this bug.
Steps to reproduce
- Open Codex App and create/interact with a few new conversations.
- Observe that everything works fine in the current session.
- Quit the app completely.
- Reopen/restart the Codex App.
- Check the chat history. Some previous conversations are now completely missing.
Expected behavior
All chat histories should be saved and persist normally after the app is restarted.
Actual behavior
Some conversations are permanently lost/deleted after restarting the app.
What steps can reproduce the bug?
- Open the Codex App and create a few new conversations (chatting and using it normally).
- Verify that they are saved and visible in the sidebar/history.
- Close/Quit the Codex App completely.
- Reopen/Restart the Codex App.
- Check the chat history list in the sidebar.
- Observe that some of the recently active conversations have completely vanished. (This happens with a very high frequency; I have already lost 3-4 complete conversations).
What is the expected behavior?
All chat histories and active conversations should be successfully saved, and they should persist in the history list/sidebar even after closing and restarting the Codex App.
Additional information
There are no explicit error messages or crash prompts when this happens. The app restarts normally, but some previous conversations simply fail to load or are lost entirely from the database/history. Since this bug occurs very frequently, it is highly disruptive as valuable chat context is lost.
Activity
github-actions commentedon May 31, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
liquidice04 commentedon Jun 2, 2026
Same thing happening on my end
diegobonacolsi commentedon Jul 7, 2026
Same thing here, I've found a workaround to recover lost chats. Below is my conclusion drafted with Codex itself.
Root cause: the normal
thread/listfilesystem scan skipped sessions whose rollout started with an empty## My request for Codex:wrapper. The threads were still present in SQLite,thread/readandcodex resumeworked, andthread/listwithuseStateDbOnly: truereturned them correctly.Workaround: after backing up the rollout JSONL, I changed the empty wrapper to
## My request for Codex:.(added a single period). Both missing threads immediately reappeared in the Codex UI.This seems most likely when a new thread starts from pasted/attached context without an actual text instruction in the first message.
mattLummus commentedon Aug 31, 2026
This is still occurring
manifestcowboy commentedon Sep 21, 2026
Just happened to me too