Codex Desktop App 26.609.30741 (0.140.0-alpha.2): local sessions disappear after update until renderer cache is cleared
Resolved 💬 5 comments Opened Jun 12, 2026 by MumuTW Closed Jun 12, 2026
Description
After Codex Desktop App auto-updated to 26.609.30741 (bundled codex-cli 0.140.0-alpha.2), all previous local sessions disappeared from the sidebar. The session files are still present on disk.
Environment
- Codex Desktop App:
26.609.30741(CFBundleVersion 3808) - Bundled codex-cli:
0.140.0-alpha.2 - OS: macOS 26.5.1 (Apple Silicon)
- Auth: ChatGPT login
Observed behavior
- Sidebar shows no previous sessions after update.
~/.codex/sessions/still contains 101 rollout JSONL files.~/.codex/state_5.sqlitestill contains 643 thread rows (85 unarchived, 558 archived).- Rebuilding
~/.codex/session_index.jsonlfromstate_5.sqliteand restarting the app does not restore the sessions. - Switching
model_providerback toopenaiand restarting does not restore the sessions. - App logs show:
failed to refresh available models: unexpected status 403 Forbidden: ... Missing scopes: api.model.read ... url: https://api.openai.com/v1/models?client_version=0.140.0
Workaround that restored the sessions
Clearing the Desktop App's renderer cache and restarting restored the sidebar history:
rm -rf ~/Library/Caches/Codex \
~/Library/Caches/com.openai.codex \
~/Library/Application\ Support/Codex/Default/Cache \
~/Library/Application\ Support/Codex/Default/Code\ Cache \
~/Library/Application\ Support/Codex/Default/GPUCache \
~/Library/Application\ Support/Codex/Default/Session\ Storage
Expected behavior
All existing local sessions should remain visible in the Desktop sidebar after an update without manually clearing caches.
Steps to reproduce
- Have existing local sessions created before the update.
- Update Codex Desktop App to
26.609.30741. - Open the app.
- Sidebar shows no previous sessions.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗