mirror of
https://github.com/stablyai/orca.git
synced 2026-10-08 16:02:37 +00:00
fix(remote): preserve terminal recovery across control refresh (#11513)
* fix(remote): recover stalled terminal streams * fix(i18n): localize manual disconnect error * fix(remote): park paired terminals with host snapshots * test(remote): mock authoritative resync snapshots * fix(terminal): defer startup mounts until hydration * fix(remote): raise paired terminal stream capacity * fix(remote): harden terminal recovery lifecycle * fix(remote): preserve calls across control refresh * test(remote): harden paired recovery oracle * test(workspace): seed Jira source context * test(remote): assert raw host terminal identities * test(terminal): keep restore sentinels atomic * test(terminal): keep restore sentinel on one row --------- Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
@@ -19,6 +19,7 @@ export function closeSharedControlSocket(args: {
|
||||
readyWaiters: SharedControlReadyWaiter[]
|
||||
lastClose: { code: number; reason: string } | null
|
||||
error?: Error
|
||||
preserveReadyWaitersAndPendingRequests?: boolean
|
||||
clearReadyStableTimer: () => void
|
||||
}): void {
|
||||
if (args.ws || args.socketCleanup) {
|
||||
@@ -39,6 +40,7 @@ export function closeSharedControlSocket(args: {
|
||||
subscriptions: args.subscriptions,
|
||||
socketCleanup: args.socketCleanup,
|
||||
ws: args.ws,
|
||||
error: args.error
|
||||
error: args.error,
|
||||
preserveReadyWaitersAndPendingRequests: args.preserveReadyWaitersAndPendingRequests
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user