Files
orca/tests/e2e
Neil bd9455b616 test(wsl): cover a WSL-host orcad and the desktop at different versions (#34792)
* test(wsl): cover a WSL-host orcad and the desktop at different versions

The desktop and a WSL distro's orcad update independently, and nothing pinned how they meet.

- wsl-orcad-update-admission.test.ts: an older desktop keeps the newer orcad another desktop
  deployed serving, with no Update hint, and deploys over it only on Force; a policy refusal over
  that host carries orcad_host_newer. A newer desktop updates an older orcad on connect, keeps it
  serving with a Force hint after a failed update, and treats an orcad from before app provenance
  as updatable.
- cross-version-wire/wsl-host-desktop-downgrade: against the baseline release, a newer desktop
  withholds the agent-session account env from a WSL orcad that never advertised it (the release's
  strict schema accepts the call), sends agent.launch's account env the release accepts, and reads
  the release's errors with no drive refusal; an older desktop reads the Windows-drive refusal as
  the readable runtime_error it already shows.

* test(wsl): type the unused Claude preparation, and read the older orcad's error with the newer desktop's unwrap
2026-10-28 00:24:50 -07:00
..