orca/tests/e2e/helpers
OrcaWin 0b71f3bfba
test(e2e): prove the terminal daemon survives a main-process crash on Windows (#7742) (#9311)
* test(e2e): prove the terminal daemon survives a main-process crash on Windows (#7742)

Add a win-crash-survival e2e harness (sibling to win-update-e2e) that
force-kills ONLY the packaged app's real Electron main (resolved via
app.evaluate -> process.pid, /F no /T) and asserts the detached
orca-terminal-daemon.exe plus its ConPTY shell survive with no pwsh
0xE9 FailFast, then that a relaunch re-adopts the SAME daemon and the
reattached UI binds to the SAME survivor shell (proved via a per-shell
env sentinel read back through the restored terminal).

This guards the #7742 fix (standalone relocated daemon that outlives
main death) against regression. A directional `--expect orphaned`
profile fails on a fixed build, keeping the survival assertions honest.

Windows-only; reuses win-update-e2e app-driver/daemon-process modules.

* test(e2e): harden Windows crash-survival proof

* test(ci): keep crash survival gate durable

* test(e2e): tolerate restart hydration navigation

* test(e2e): prove exact shell input after crash

* perf(ci): avoid crash harness installer rebuilds

* test(ci): harden crash survival evidence and cost

* test(e2e): fail closed on authoritative crash target

* test(e2e): fail closed on crash liveness evidence

---------

Co-authored-by: Brennan Benson <79079362+brennanb2025@users.noreply.github.com>
2026-07-19 11:27:29 -07:00
..
agent-hook-endpoint.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
computer-cli-driver.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
computer-driver.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
dead-terminal.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
docker-ssh-relay-connection.ts Ssh watcher isolation e2e (#8494) 2026-07-12 23:50:00 -07:00
docker-ssh-relay-processes.ts Ssh watcher isolation e2e (#8494) 2026-07-12 23:50:00 -07:00
docker-ssh-relay-target.ts Ssh watcher isolation e2e (#8494) 2026-07-12 23:50:00 -07:00
e2e-completed-onboarding-profile.ts feat(status-bar): notify upgraded users usage meters show % used (#8319) 2026-07-11 14:49:49 -07:00
electron-launch-args.ts
electron-process-shutdown.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
file-explorer.ts
local-https-test-certificate.ts fix(browser): local HTTPS Try HTTPS + cert proceed (#8454) (#9104) 2026-07-16 19:11:34 -07:00
local-https-test-server.ts fix(browser): local HTTPS Try HTTPS + cert proceed (#8454) (#9104) 2026-07-16 19:11:34 -07:00
markdown-ordered-list-exit.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
orca-app.ts fix(terminal): retire sessions when tabs close (#8628) 2026-07-14 00:15:34 -07:00
orca-restart.ts test(e2e): prove the terminal daemon survives a main-process crash on Windows (#7742) (#9311) 2026-07-19 11:27:29 -07:00
pr-comments-sidebar-fixture.ts Make PR comments sidebar easier to triage and read (#5996) 2026-06-21 23:49:43 -07:00
restored-terminal-input-readiness.ts test(e2e): harden terminal restart regressions on Windows (#9064) 2026-07-17 17:18:36 -07:00
runtime-types.ts
seeded-test-repo.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
shortcuts.ts
source-control-ai-generation.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
source-control-ai-generators.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
store.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
terminal-hidden-parking.ts fix(e2e): repair release e2e suite (parking regression tests, stale/flaky specs, profile switcher gate) (#8486) 2026-07-12 22:40:57 -07:00
terminal-input-probes.ts test(e2e): harden terminal restart regressions on Windows (#9064) 2026-07-17 17:18:36 -07:00
terminal-pty-injection.ts
terminal-pty-write-spy.ts Fix paste ownership, input bounds, and IPC validation 2026-06-19 17:14:55 -07:00
terminal-title-log.ts
terminal.ts test(e2e): harden terminal restart regressions on Windows (#9064) 2026-07-17 17:18:36 -07:00
worktree-registration.ts Fix stale and race-prone E2E test failures (#7468) 2026-07-05 19:46:49 -07:00