Windows Desktop: API-login threads disappear from sidebar after restart, but still exist locally

Open 💬 2 comments Opened Apr 24, 2026 by 970196899

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.jsonl
  • C:\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.sqlite with archived = 0

So this looks like a sidebar thread-list restoration / visibility issue, not conversation deletion.

Repro steps

  1. Open Codex Desktop on Windows
  2. Sign in with API login
  3. Start one or more conversations
  4. Close Codex Desktop completely
  5. Reopen Codex Desktop
  6. 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

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗