Skip to content

Named sessions from older versions not resumable in v2.1.x #23933

Closed as not planned

Description

@SamPatt

Description

Named sessions created under older Claude Code versions cannot be resumed in v2.1.34. The --resume flag (by custom title or UUID) opens the session picker UI with empty results, even though the session data is intact on disk and correctly referenced in sessions-index.json.

Steps to Reproduce

  1. Have named sessions created under an older Claude Code version (pre-2.x)
  2. Upgrade to Claude Code v2.1.34
  3. Run claude --resume <session-name> or claude --resume <session-uuid>
  4. The "Resume Session" picker UI appears but shows no matching results

Expected Behavior

The session should resume, or at minimum appear in the picker results.

Actual Behavior

The picker UI opens with an empty list — no sessions are shown despite typing the exact custom title.

Investigation Findings

  • The session .jsonl file exists on disk (971KB, 565 lines, valid JSON)
  • The sessions-index.json contains the correct entry with customTitle, sessionId, and fullPath
  • The first line of the session file has type: "file-history-snapshot" — same structure as working sessions
  • 30 session files exist on disk but only 8 are in the index, suggesting possible index truncation
  • Newly created sessions (created and renamed in v2.1.34) resume correctly
  • The broken session was created Jan 5, 2026 and last modified Jan 19, 2026

Environment

  • Claude Code version: 2.1.34
  • OS: Ubuntu Linux 6.8.0-100-generic
  • Shell: zsh

Workaround

None found. The session data is intact but inaccessible through the resume UI.

Activity

  1. github-actions commented on Feb 7, 2026

    @github-actions

    Found 3 possible duplicate issues:

    1. [BUG] Claude Code v2.x Cannot Resume Sessions Created/Used in v1.x - Version Incompatibility #13229
    2. [BUG] sessions-index.json stops being updated after v2.1.31 — new sessions invisible to /resume #23614
    3. [BUG] sessions-index.json stops updating - new sessions not appearing in /resume picker (Linux/WSL2) #23421

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. bhjia-phys commented on Feb 9, 2026

    @bhjia-phys

    I encountered the same problem...

  3. github-actions commented on Mar 10, 2026

    @github-actions

    Closing for now — inactive for too long. Please open a new issue if this is still relevant.

  4. github-actions commented on Mar 17, 2026

    @github-actions

    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.

  5. locked as resolved and limited conversation to collaborators on Mar 17, 2026
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:corearea:tuibugSomething isn't workinghas reproHas detailed reproduction stepsplatform:linuxIssue specifically occurs on LinuxstaleIssue is inactive

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions