mirror of
https://github.com/stablyai/orca.git
synced 2026-10-20 00:03:45 +00:00
fix(terminal): log pane recovery at warn, not error
STA-2373 made this path routine: every daemon death now remounts each live pane, so error level floods logs and crash telemetry with a message that reports recovery *succeeding*. The breadcrumb right below is what diagnostics actually consume.
This commit is contained in:
@@ -261,7 +261,10 @@ export async function requestTerminalPaneRecovery(request: RecoveryRequest): Pro
|
||||
// A remount replaces every pane xterm in the tab; a previously scheduled
|
||||
// retry would only re-remount the fresh, healthy panes.
|
||||
cancelPendingRecoveryRetry(request.tabId)
|
||||
console.error(
|
||||
// warn, not error: this is the recovery succeeding, and the breadcrumb below is
|
||||
// what diagnostics actually read. STA-2373 made this path routine (every daemon
|
||||
// death remounts each live pane), so error level just floods logs and telemetry.
|
||||
console.warn(
|
||||
`[terminal] recovering pane tab ${request.tabId} — ${request.reason} with a live PTY (${request.ptyId ?? 'unbound'}); remounting to rebuild the renderer`
|
||||
)
|
||||
recordRendererCrashBreadcrumb('terminal_pane_recovery_remount', {
|
||||
|
||||
Reference in New Issue
Block a user