Windows Desktop: API-login threads disappear from sidebar after restart, but still exist locally
Version
Codex Desktop on Windows (MSIX / Microsoft Store)
App package version:
26.422.2437.0
Thread/session metadata also shows:
cli_version: 0.124.0-alpha.2
Bug
When using API login in Codex Desktop on Windows, conversation threads disappear from the left sidebar after restarting the app.
This does not appear to be actual data loss.
Expected behavior
API-login conversations should remain visible in the left sidebar after restart, similar to account / ChatGPT login.
Actual behavior
After restarting Codex Desktop:
- API-login threads disappear from the left sidebar
- pinned or currently opened threads can still display normally
- account / ChatGPT login history behaves normally
What I verified
The threads still exist locally:
C:\Users\Administrator\.codex\sessions\...C:\Users\Administrator\.codex\session_index.jsonlC:\Users\Administrator\.codex\state_5.sqlite
I confirmed that affected threads still have:
- rollout/session files on disk
- index entries in
session_index.jsonl - rows in
state_5.sqlitewitharchived = 0
So this looks like a sidebar thread-list restoration / visibility issue, not conversation deletion.
Repro steps
- Open Codex Desktop on Windows
- Sign in with API login
- Start one or more conversations
- Close Codex Desktop completely
- Reopen Codex Desktop
- Observe that the API-login threads are missing from the left sidebar
Notes
I also tried clearing app-local package data under:
C:\Users\Administrator\AppData\Local\Packages\OpenAI.Codex_2p2nqsd0c76g0
That did not fix the issue.
Example affected thread id:
019dbec3-6c63-7ac0-878f-9ed85eb5bcf5
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗