Commit Graph
3 Commits
Author SHA1 Message Date
Jinwoo Hong c1a25c8b3a feat(win-update-e2e): onboarding seed + fail-fast driving + failure diagnostics
- 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.
2026-07-06 17:41:51 -04:00
Jinwoo Hong 5b403c2cdb ci(win-update-e2e): trigger from the feature branch via push
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.
2026-07-06 17:01:57 -04:00
Jinwoo Hong 95415014e4 ci: add manual Windows update-survival E2E workflow + harden harness uninstall
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.
2026-07-06 16:43:48 -04:00