mirror of
https://github.com/stablyai/orca.git
synced 2026-10-13 16:02:49 +00:00
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>