[BUG] Session history/sidebar shows no prior sessions after app update (2.1.215 → 2.1.219), despite transcripts existing on disk
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
After the desktop app auto-updated from version 2.1.215 to 2.1.219, I logged out and then in again from Claude Desktop. This was due to a cached message saying I was nearing my weekly cap - because I clicked upgrade shortly before that and upgraded to the MAX plan, so that message should have disappeared. When I logged back in, the "Code" sidebar's Recents panel stopped showing any prior sessions for my project — only the current session appears. No filter control is visible to explain this (checked "New", "Artifacts", "Customize", "More" — nothing under More). I had to start completely from scratch and my sessions are "missing" as is my "project." It is as though it is a brand new install/starting from scratch. This is incredibly frustrating and has interrupted several hours/days of work.
Confirmed this is a real index/backend issue, not a display filter:
list_sessions MCP tool returns "No other sessions found" (responds in ~5ms, too fast to be scanning actual transcript files)
get_session on a known valid session ID returns "Session be9603ea-c6cd-4c27-8768-a14cb1d88df8 not found."
That session's full transcript (6.8MB, 2629 lines) still exists on disk at ~/.claude/projects/D--Project-Astralinia/be9603ea-c6cd-4c27-8768-a14cb1d88df8.jsonl, along with 8 other intact session transcripts spanning multiple days
Git history and project files for the underlying project are all fully intact — this is purely a session-tracking/index bug, not data loss
What Should Happen?
Prior sessions should still be listed/searchable after the update, since the underlying transcript files were never touched. My session history is effectively deleted and I cannot resume conversations w/ Claude on these sessions.
Error Messages/Logs
Steps to Reproduce
- On Claude Desktop, using Sonnet, w/ sessions visible on the sidebar and project selected.
- Update from version 2.1.215 to 2.1.219
- Log out and then in again from Claude Desktop.
- Now, the "Code" sidebar does not show any sessions nor a selected project - it is as if you are starting from scratch. There is no filter control visible to explain this (checked "New", "Artifacts", "Customize", "More" — nothing under More).
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.215
Claude Code Version
2.1.219
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
This is incredibly frustrating and unacceptable. I'm paying for this service and was mid-update on a massive coding effort w/ Claude. I lost all my sessions and am starting anew. I have been working for several hours & days on this. I just updated to the MAX plan tonight as well - and I lose my sessions? Seriously? I'd like some money back for this.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗