mirror of
https://github.com/stablyai/orca.git
synced 2026-10-08 16:02:37 +00:00
fix(terminal): settle direct SSH retry on unverifiable owner
This commit is contained in:
+2
@@ -91,6 +91,7 @@ export function startDeferredSessionReattach(
|
||||
if (typeof gen === 'number') {
|
||||
void window.api.pty.clearPendingPaneSerializer(session.cacheKey, gen).catch(() => {})
|
||||
}
|
||||
session.settleDirectSshPaneRetryAttempt(session.directSshRetryAttempt, 'failed')
|
||||
return
|
||||
}
|
||||
if (!result && expiredReattachError) {
|
||||
@@ -153,6 +154,7 @@ export function startDeferredSessionReattach(
|
||||
}
|
||||
if (message.includes(PANE_OWNER_UNVERIFIED_ERROR)) {
|
||||
session.reportError(message)
|
||||
session.settleDirectSshPaneRetryAttempt(session.directSshRetryAttempt, 'failed')
|
||||
return
|
||||
}
|
||||
warnTerminalLifecycleAnomaly('restored PTY reattach threw', {
|
||||
|
||||
Reference in New Issue
Block a user