mirror of
https://github.com/stablyai/orca.git
synced 2026-10-28 00:02:54 +00:00
fix(gitlab): bound and coalesce auth probes (#9476)
This commit is contained in:
@@ -17895,7 +17895,7 @@ export class OrcaRuntimeService {
|
||||
} catch (error) {
|
||||
return { error: error instanceof Error ? error.message : 'Could not resolve git remote.' }
|
||||
}
|
||||
const knownHosts = await getGlabKnownHosts(repo.connectionId ?? null)
|
||||
const knownHosts = await getGlabKnownHosts(repo.connectionId ?? null, localWorktreeGitOptions)
|
||||
const projectRef = await getGitLabProjectRefForRemote(
|
||||
repo.path,
|
||||
remote,
|
||||
@@ -18020,7 +18020,7 @@ export class OrcaRuntimeService {
|
||||
connectionId?: string | null,
|
||||
localGitOptions: { wslDistro?: string } = {}
|
||||
): Promise<string> {
|
||||
const knownHosts = await getGlabKnownHosts(connectionId)
|
||||
const knownHosts = await getGlabKnownHosts(connectionId, localGitOptions)
|
||||
const localGitOptionArgs =
|
||||
Object.keys(localGitOptions).length > 0 ? ([localGitOptions] as const) : []
|
||||
if (preference === 'origin') {
|
||||
|
||||
Reference in New Issue
Block a user