Skip to content

Workspace reset archives sessions from other worktrees #26101

@Destreyf

Description

@Destreyf

Description

Resetting one sandbox/worktree from the web or desktop app can archive active sessions from other worktrees in the same project.

The reset flow asks for sessions in the target workspace, then archives every active session returned. If the session list includes project-wide or cross-worktree results, reset archives conversations outside the workspace being reset.

Plugins

No response

OpenCode version

1.14.39

Steps to reproduce

  1. Open a project with multiple sandbox/worktree workspaces.
  2. Create or keep active sessions in more than one workspace.
  3. Reset one sandbox from the workspace menu.
  4. Check the other workspaces' sessions.

Expected: only sessions whose stored directory matches the reset workspace are archived.

Actual: sessions from other worktrees can be archived too.

Screenshot and/or share link

No response

Operating System

macOS

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

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