Files
orca/src/renderer
6c9be228ad fix(automations): retire owned desktop terminals (#9493)
* fix(automations): retire owned desktop terminals (#9479)

* fix(automations): diagnose late settlement failures

* fix(automations): clear retired terminal identity and guard finalize close

- Clear the run's terminalSessionId/PaneKey/PtyId when finalize() actually
  retires the owned terminal, so 'View run' resolves to the workspace/snapshot
  instead of dead-ending on a now-closed terminal.
- Guard finalize()'s closeTab in a try/catch; a throwing close reports
  not-closed so the run keeps its still-valid terminal identity and no stale
  clear runs.

Review follow-ups from PR #9493 (does not attempt the durable cross-reload
reconciliation that #9479 needs).

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: Orca <help@stably.ai>
2026-07-20 20:53:31 -07:00
..
2026-05-30 13:09:17 -07:00