fix: qualify ssh fallback worktree paths (#7764)

This commit is contained in:
Yu Sun
2026-07-24 00:24:58 -07:00
committed by GitHub
parent 6d39e49480
commit 2cbcf03b0f
4 changed files with 96 additions and 55 deletions
+2 -2
View File
@@ -4677,7 +4677,7 @@ describe('OrcaRuntimeService', () => {
vi.mocked(listWorktrees).mockClear()
vi.mocked(addWorktree).mockClear()
const created = {
path: '/remote/mobile-feature',
path: '/remote/repo-mobile-feature',
head: 'def',
branch: 'refs/heads/mobile-feature',
isBare: false,
@@ -4740,7 +4740,7 @@ describe('OrcaRuntimeService', () => {
expect(provider.addWorktree).toHaveBeenCalledWith(
'/remote/repo',
'mobile-feature',
'/remote/mobile-feature',
'/remote/repo-mobile-feature',
{ base: 'origin/main' }
)
expect(result.worktree).toMatchObject({