Session history disappears from sidebar after boot/cleanup — open sessions not shown in menu
After a system reboot, all sessions disappeared from the left sidebar menu, except for sessions that happened to be open as tabs. The sessions are intact on disk (.jsonl files) but are not restored to the menu.
Additionally, sessions currently open as tabs do not appear in the sidebar menu — they are completely separate lists with no overlap.
The .last-cleanup file timestamp matches exactly when the sessions disappeared from the menu (2026-05-19T12:35:05Z).
Expected: sidebar shows recent sessions from last N days, including currently open tab sessions.
Actual: sidebar only shows a small number of past sessions, cleared on boot, and open tabs are not listed.
Steps to reproduce:
- Have multiple sessions open as tabs in VS Code extension
- Reboot the system
- Reopen VS Code with Claude Code extension
- Observe: sidebar menu shows different sessions than the ones that were open as tabs
Version: 2.1.138
OS: Windows 10 Home 10.0.19045
Interface: VS Code extension
3 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Closing as duplicate of #54186, #44625, and #41414. Same issue: session history disappears from sidebar after reboot/cleanup, while files remain intact on disk. 👍 on those issues instead.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.