claude-code - 💡(How to fix) Fix Session history disappears from sidebar after boot/cleanup — open sessions not shown in menu [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#60535Fetched 2026-05-20 03:56:03
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×3commented ×2closed ×1
RAW_BUFFERClick to expand / collapse

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:

  1. Have multiple sessions open as tabs in VS Code extension
  2. Reboot the system
  3. Reopen VS Code with Claude Code extension
  4. 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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Session history disappears from sidebar after boot/cleanup — open sessions not shown in menu [2 comments, 2 participants]