Fix STA-1292: prevent Windows worktree-create hang (disable interactive credential prompt + timeout create-path git) (#7301)
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -4880,7 +4880,10 @@ describe('OrcaRuntimeService', () => {
|
||||
['rev-parse', '--path-format=absolute', '--git-common-dir'],
|
||||
wslGitOptions
|
||||
)
|
||||
expect(asyncGitSpy).toHaveBeenCalledWith(['fetch', 'origin'], wslGitOptions)
|
||||
expect(asyncGitSpy).toHaveBeenCalledWith(['fetch', 'origin'], {
|
||||
...wslGitOptions,
|
||||
timeout: 60_000
|
||||
})
|
||||
expect(syncGitSpy).toHaveBeenCalledWith(
|
||||
['rev-list', '--left-right', '--count', 'HEAD...origin/main'],
|
||||
{ cwd: TEST_WORKTREE_PATH, wslDistro: 'Ubuntu' }
|
||||
|
||||
Reference in New Issue
Block a user