- Seed a completed-onboarding profile into userData before launch so the
fullscreen onboarding overlay stops blocking the terminal UI.
- ensureTerminal(): create a terminal from a fresh profile rather than
waiting for a pre-existing surface that never appears.
- Wrap the whole run in try/catch/finally: a driving failure now captures
a screenshot + DOM/store diagnostics and ALWAYS tears down (close app,
uninstall), then force-exits — turning a 30-min CI job timeout into a
~2-min readable failure. Workflow uploads the diagnostics.
workflow_dispatch only works from the default branch, so add a push
trigger scoped to this branch (paths-filtered to harness/workflow edits)
to exercise the harness on a Windows runner without merging to main.
Push runs carry no inputs, so parameters default to rc.8 -> rc.9,
cold-restore.
Adds .github/workflows/win-update-e2e.yml (workflow_dispatch): on a clean
windows-2022 runner, downloads two release installers, runs the
update-survival harness, and uploads the output log. A CI runner is the
only safe home for install-based testing — electron-builder oneClick
uninstalls the registry-registered app before every install, so running
the harness on a machine with a real Orca install deletes it.
Also hardens the harness against that exact hazard: silentUninstall now
requires an explicit install directory (no scan-and-discover fallback)
and refuses the default per-user location unless a caller that owns the
install opts in; non-isolated teardown uninstalls only the exact dir it
installed into.