Skip to content

Desktop Windows cannot switch between multiple working directories for the same repository #39119

Closed as not planned

Description

@hikki1998

Description

In the opencode Desktop app on Windows, switching between multiple local working directories that point to the same code repository does not work reliably.

For example, I may have the same repository A checked out into multiple local working directories for different development purposes:

  • D:\work\A-feature-1
  • D:\work\A-feature-2

When both directories are added/used in opencode Desktop, switching between them can fail or keep opening/using the wrong workspace. The only workaround I found is to remove one of the duplicated repository workspaces, after which the remaining one works normally.

Expected behavior

opencode Desktop should treat different local working directories as separate workspaces, even if they are based on the same repository, and allow switching between them normally.

Actual behavior

When multiple working directories correspond to the same repository, switching between them may not work correctly. One of them has to be removed before the other can be used normally.

Environment

  • App: opencode Desktop
  • OS: Windows

Notes

This seems related to workspace identity/deduplication. It may be using repository identity/name instead of the full local path when distinguishing workspaces.

Activity

  1. github-actions commented on Jul 27, 2026

    @github-actions
    Contributor

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

  2. github-actions commented on Sep 26, 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