Preflight Checklist
What's Wrong?
Preflight Checklist
Platform: Windows
App: Claude Code Desktop
Area: Session persistence / Desktop app
What's Wrong?
After the Claude Code Desktop app auto-updated, all session message content
disappeared. The session list in the left sidebar still shows all previous
sessions correctly, but clicking any session shows "No messages yet." —
even for sessions that were actively used.
Reinstalling the app and clearing cache did not fix the issue.
Steps to Reproduce
- Use Claude Code Desktop on Windows over multiple sessions
- App auto-updates in the background
- Relaunch the app after the update
- Session titles are visible in the left sidebar
- Clicking any session shows "No messages yet." — content is gone
Expected Behavior
All previous session message content should be visible after an app update.
Actual Behavior
- Sidebar session list renders correctly (titles intact)
- All session message content is missing ("No messages yet.")
- Cache clear does not fix it
- Full uninstall + reinstall does not fix it
- Running /resume in the Claude Code CLI shows only a small subset
of sessions, confirming content was never flushed to the
claude-code-sessions JSONL files on disk
- The JSONL files in %APPDATA%\Claude\claude-code-sessions are all
only 1KB (empty stubs with no message content)
Root Cause (suspected)
The Desktop app (Electron renderer) was storing session message content
in IndexedDB / in-memory cache but never properly flushing it to the
claude-code-sessions JSONL files on disk. When the update cleared the
Electron cache, all message content was permanently lost.
Impact
Permanent data loss of all session conversation history prior to the update.
Work output files on disk are unaffected, but all conversation transcripts
are gone with no way to recover them.
Additional Context
- %APPDATA%\Claude\claude-code-sessions contains JSONL files all sized 1KB
- %APPDATA%\Claude\DIPS-wal was 910KB at time of investigation (WAL not checkpointed)
- Claude Code CLI /resume only shows sessions from AFTER the update
- Issue persists across reinstall, confirming it is a data persistence
bug and not an Electron cache issue
What Should Happen?
NA
Error Messages/Logs
Steps to Reproduce
NA
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
latest
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
No response
Preflight Checklist
What's Wrong?
Preflight Checklist
Platform: Windows
App: Claude Code Desktop
Area: Session persistence / Desktop app
What's Wrong?
After the Claude Code Desktop app auto-updated, all session message content
disappeared. The session list in the left sidebar still shows all previous
sessions correctly, but clicking any session shows "No messages yet." —
even for sessions that were actively used.
Reinstalling the app and clearing cache did not fix the issue.
Steps to Reproduce
Expected Behavior
All previous session message content should be visible after an app update.
Actual Behavior
of sessions, confirming content was never flushed to the
claude-code-sessions JSONL files on disk
only 1KB (empty stubs with no message content)
Root Cause (suspected)
The Desktop app (Electron renderer) was storing session message content
in IndexedDB / in-memory cache but never properly flushing it to the
claude-code-sessions JSONL files on disk. When the update cleared the
Electron cache, all message content was permanently lost.
Impact
Permanent data loss of all session conversation history prior to the update.
Work output files on disk are unaffected, but all conversation transcripts
are gone with no way to recover them.
Additional Context
bug and not an Electron cache issue
What Should Happen?
NA
Error Messages/Logs
Steps to Reproduce
NA
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
latest
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
No response