fix(ssh): repair unbuilt relay native deps (#8686)

Co-authored-by: Orca <help@stably.ai>
Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
Co-authored-by: Jinwoo-H <jinwoo0825@gmail.com>
Co-authored-by: Jinwoo Hong <73622457+Jinwoo-H@users.noreply.github.com>
This commit is contained in:
Glen Maddern
2026-07-16 21:32:13 -07:00
committed by GitHub
co-authored by Orca Neil Jinwoo-H Jinwoo Hong
parent 1284a00e93
commit fa85536f3a
32 changed files with 4339 additions and 693 deletions
@@ -122,6 +122,7 @@ true
if (options?.rethrowSessionLimitErrors && isSshSessionLimitError(err)) {
throw err
}
throwIfAborted(options)
// Fall through to login shell.
}
return null
@@ -167,6 +168,7 @@ async function tryResolveViaLoginShell(
if (options?.rethrowSessionLimitErrors && isSshSessionLimitError(err)) {
throw err
}
throwIfAborted(options)
// Fall through.
}
return null
@@ -191,6 +193,7 @@ async function nodeMeetsVersionRequirement(
if (options?.rethrowSessionLimitErrors && isSshSessionLimitError(err)) {
throw err
}
throwIfAborted(options)
// Binary missing or fails to run — not usable.
return false
}
@@ -240,6 +243,7 @@ async function resolveRemoteWindowsNodePath(
if (options?.rethrowSessionLimitErrors && isSshSessionLimitError(err)) {
throw err
}
throwIfAborted(options)
// Fall through to the shared error below.
}
@@ -262,6 +266,7 @@ async function windowsNodeMeetsVersionRequirement(
if (options?.rethrowSessionLimitErrors && isSshSessionLimitError(err)) {
throw err
}
throwIfAborted(options)
return false
}
}