claude-code - 💡(How to fix) Fix bug: Sessions missing from claude --resume list

Official PRs (…)
ON THIS PAGE

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…

Code Example

Resume this session with:
claude --resume "session title here"
RAW_BUFFERClick to expand / collapse

Bug Description

Sessions are missing from the claude --resume session list. When a session ends, Claude prints a resume command like:

Resume this session with:
claude --resume "session title here"

But when you run claude --resume, the session does not appear in the list at all — it is simply absent, not a search issue.

Steps to Reproduce

  1. Start a Claude Code session and do some work
  2. Exit the session — Claude prints Resume this session with: claude --resume "..."
  3. Run claude --resume
  4. The session that just ended is not in the list
  5. Searching for the session title also returns "No sessions match"

Expected Behavior

All sessions (including recently closed ones) should appear in the claude --resume list.

Actual Behavior

Sessions are randomly missing from the list. The full session list shows a limited number of sessions (e.g. "1 of 23") and recently closed sessions or sessions from certain projects/contexts are not included — even immediately after they close.

This appears to affect both old and new sessions across different projects.

Environment

  • Claude Code CLI (latest)
  • macOS
  • Reproducible across multiple sessions and projects

Screenshots

(Screenshots to be attached — showing a session that just ended with a resume command, then the resume list missing that session, and additional examples of sessions not found)

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 bug: Sessions missing from claude --resume list