You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Title: (OpenCode-Desktop) Open Project no longer detects manually created git worktrees as workspaces, and stale workspace entries cannot be removed on macOS #21554
I'm seeing two related problems with manually managed git worktrees in OpenCode Desktop on macOS.
The project has workspaces enabled.
If I create a git worktree manually outside of OpenCode and then open that folder in OpenCode Desktop using Open Project, OpenCode no longer detects it as a worktree and does not add it as a workspace.
If I later delete that worktree manually, the corresponding workspace entry can remain in OpenCode Desktop and I can no longer remove that workspace from the app.
This used to work before, so this appears to be a regression in workspace/worktree detection and cleanup.
Expected behavior
When opening a manually created git worktree via Open Project, OpenCode Desktop should detect it as a worktree and add it as a workspace
If a worktree no longer exists on disk, OpenCode Desktop should either automatically remove the stale workspace entry or allow the user to remove it manually
Actual behavior
Open Project no longer detects manually created git worktrees as workspaces
After deleting a worktree manually, a stale workspace entry can remain
That stale workspace can become undeletable from the app
changed the title [-]Title: Open Project no longer detects manually created git worktrees as workspaces, and stale workspace entries cannot be removed on macOS[/-][+]Title: (OpenCode-Desktop) Open Project no longer detects manually created git worktrees as workspaces, and stale workspace entries cannot be removed on macOS[/+]on Apr 8, 2026
Activity
[-]Title: Open Project no longer detects manually created git worktrees as workspaces, and stale workspace entries cannot be removed on macOS[/-][+]Title: (OpenCode-Desktop) Open Project no longer detects manually created git worktrees as workspaces, and stale workspace entries cannot be removed on macOS[/+]github-actions commentedon Apr 8, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct (e.g., the stale/undeletable workspace entry specifically), feel free to clarify and a maintainer will triage accordingly.
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.