Skip to content

bug: Sessions missing from claude --resume list #57203

Description

@dharmendrasdlt

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:clibugSomething isn't workingplatform:macosIssue specifically occurs on macOSstaleIssue is inactive

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions