Files
archived-orca/tests
Neil 196cad0cc8 fix(cloud): RA-1 hold host-published Orca Cloud agent launches on an expired account
Root cause: an Orca Cloud workspace is a paired web host, so launchAgentInNewTab publishes the
agent through the host (launchAgentInWebHostTab -> terminal.create) and the desktop only attaches.
startFreshSpawn never runs, so the #295 pre-gate (and #40228's gate) never saw these launches.

- launchAgentInWebHostTabWithCloudHold wraps the host-published launch: on Orca Cloud with an
  expired/revoked Orca-account sign-in and no key, the host opens a plain shell tab, its first pane
  shows the account-recovery strip, and the agent starts (placeholder closed) once Renew fixes it.
  Cancel leaves the shell. One-line hook in launch-agent-in-new-tab.ts.
- A stale accounts read (>30 s) no longer decides at once: it re-reads within the 3 s budget, so a
  revoke since the last read holds the next launch.
- Electron e2e (headless paired host as Orca Cloud, expired status from main): the real New tab ->
  Claude path shows the strip and never opens a Claude tab. Fails without the fix.
2026-11-10 16:40:39 -08:00
..