Skip to content

fix: disable worktree mode when repo has no local path#124

Merged
neonwatty merged 1 commit intomainfrom
feat/optional-clone
Apr 18, 2026
Merged

fix: disable worktree mode when repo has no local path#124
neonwatty merged 1 commit intomainfrom
feat/optional-clone

Conversation

@neonwatty
Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • pnpm turbo typecheck passes
  • pnpm turbo test — 407 tests pass
  • Worktree mode correctly disabled when no local path set

Worktree mode requires a parent repo clone to create linked worktrees.
Previously only "Existing repo" mode was disabled when no local path was
configured, letting the user select "Git worktree" which would then fail
at launch time.

Now both "Existing repo" and "Git worktree" are disabled in the UI when
no local path is set, with a hint directing users to Settings. The error
message in executeLaunch is also improved to name the specific mode that
failed.

Closes #92
@neonwatty neonwatty added this pull request to the merge queue Apr 18, 2026
Merged via the queue into main with commit 526652c Apr 18, 2026
3 checks passed
@neonwatty neonwatty deleted the feat/optional-clone branch April 18, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

You shouldn't have to necessarily pull the repo to draft issues for it.

1 participant