Skip to content

Sessions in worktree missing #17739

Closed as not planned
Closed as not planned

Description

@RajuSudhar

Description

I was working on a feature in git worktree. I had 2 or 3 session for this worktree. When I restarted VS Code, opened the worktree and the opencode sessions are gone. The /session commands only shows an empty list.

Plugins

No response

OpenCode version

1.2.24

Steps to reproduce

  1. Create a worktree for any git repo
  2. Start Opencode, do something with it, rename the session for reference. -- I rename my sessions
  3. Close Opencode, close the environment you are using - VS Code in my case
  4. Reopen the environment, start opencode, use /sessions command

Screenshot and/or share link

Image

Operating System

macOS 26.3.1

Terminal

VS Code - Integrated Terminal

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 16, 2026
  2. RajuSudhar commented on Mar 16, 2026

    @RajuSudhar
    Author

    hidden-xxxx is the worktree branch name, a feature I'm working on.

  3. github-actions commented on Mar 16, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is distinct from the above, please add a note clarifying how it differs.

  4. RajuSudhar commented on Mar 16, 2026

    @RajuSudhar
    Author

    This issue might be a duplicate of existing issues. Please check:

    If your issue is distinct from the above, please add a note clarifying how it differs.

    IG, this issue might be related to first 2 issues.

  5. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  6. github-actions commented on Jul 7, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions