Skip to content

Sessions in worktree missing #17739

@RajuSudhar

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions