fix: surface worktree setup errors instead of showing infinite spinner#106
Merged
fix: surface worktree setup errors instead of showing infinite spinner#106
Conversation
When creating a branch, if the git worktree setup fails, the error was only logged to console. The branch card would show a 'Creating worktree...' spinner forever since worktreePath remained null. Now worktree setup errors are tracked in a Map<branchId, errorMessage> in ProjectHome and passed through ProjectSection to BranchCard. On failure, the branch card shows the error message with a Retry button and a Delete button, instead of an infinite spinner. Retrying clears the error and re-attempts worktree setup.
taylorkmho
added a commit
that referenced
this pull request
Feb 13, 2026
* origin/main: fix: surface worktree setup errors instead of showing infinite spinner (#106) feat: store data in platform-conventional directories (XDG) (#104) feat(notes): add copy-to-clipboard button in NoteModal (#103) feat: add use github repo based projects to avoid cloning when using remote branches (#102) fix: always branch new worktrees from remote-tracking refs (#100) fix: remove debug console.log statements from BranchCard (#97) feat: improve PR button UX with push support and conditional visibility (#89)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
worktreeErrorsmapAlertCircleicon in the branch card when setup failssetupBranchWorktreefunction inProjectHomeworktreeErrorsandonRetryWorktreethroughProjectSectiontoBranchCard