Files
orca/src
Jinwoo-HandOrca 6959bd6ccb test(pty): 2-pane split restore + unit-level cold-restore-miss warn
Why: the 2-pane e2e locks down the distinct-leafId derivation arm
(single-pane alone would miss a regression where every pane collapses
to the tab-level random fallback). The cold-restore-miss warn (design
doc §9) is verified at unit level against DaemonPtyAdapter.doSpawn —
Playwright's _electron.launch only reliably captures a subset of
main-process console output, which made an e2e-scale repro flaky even
though the production code path fires correctly.

- tests/e2e/terminal-restart-persistence.spec.ts: new "2-pane split"
  test; bootstrapRestoredLaunch now accepts expectedPaneCount.
- src/main/daemon/daemon-pty-adapter.test.ts: two new unit tests —
  warn fires when explicit sessionId lands on a fresh session with no
  disk history; warn does NOT fire on the happy path (history present).

Co-authored-by: Orca <help@stably.ai>
2026-05-04 16:24:23 -04:00
..