Commit Graph
21663 Commits
Author SHA1 Message Date
Neil be22bbcd4b Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
2026-11-10 21:01:44 -08:00
Neil d78dd4cc29 Merge pull request #358 from nwparker/cloud/routines-card-p3
cloud routines: Run now button matches the run status, no redundant line, 'just now' (AG-2)
2026-11-10 21:00:13 -08:00
Neil 6a98034250 Merge pull request #356 from nwparker/cloud/env-check-followup
Orca Cloud start/open polish: no blank before the terminal, no setup nudge, notices off the prompt, one title on failures
2026-11-10 20:55:12 -08:00
Neil 35b1989291 test(cloud): no cast in the cover store test 2026-11-10 20:52:53 -08:00
Neil 2d25ea247c Merge pull request #349 from nwparker/core-ui-ra/ja04-signin-sheet
feat(cloud): JA-04 focused Orca Cloud sign-in sheet; no duplicate Orca Cloud host row
2026-11-10 20:52:14 -08:00
Neil d6c58500d9 Merge pull request #348 from nwparker/cloud/w2-attach-hold-restore
fix(cloud): no false "Couldn't reconnect the terminal" after restart; quiet retry; card clears on attach
2026-11-10 20:51:41 -08:00
Neil fd623f5bdf Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
2026-11-10 20:51:08 -08:00
Neil 6d3919f4d2 test(cloud): type the cleanup mock 2026-11-10 20:50:52 -08:00
Neil ab3873e3e5 fix(cloud-sync): status popover scrolls within short windows instead of clipping its footer 2026-11-10 20:48:56 -08:00
Neil fc315b7e04 Merge remote-tracking branch 'private/cloud/integration' into core-ui-ra/ja04-signin-sheet
# Conflicts:
#	src/renderer/src/components/new-workspace/OrcaCloudAgentSetupRow.tsx
#	src/renderer/src/components/worktree-creation/cloud-agents-row/VmBuildCloudAgentsRow.tsx
#	src/renderer/src/i18n/locales/en.json
2026-11-10 20:48:47 -08:00
Neil af0fab19f8 fix(cloud-routines): Run now button matches the run's status; drop redundant queued line; 'just now' 2026-11-10 20:47:18 -08:00
Neil 01f636fc0e Merge pull request #351 from nwparker/cloud/setup-page-v2
Cloud gate: Set up once works, no setup page for agent-only, one Create = one sandbox, no hours toast
2026-11-10 20:45:21 -08:00
Neil 77eada32f5 Merge pull request #354 from nwparker/cloud/routine-run-detail
cloud routines: Run now no longer shows invalid-response for a started run (P1)
2026-11-10 20:44:47 -08:00
Neil 8f6f0bc516 Merge branch 'cloud/integration' of https://github.com/nwparker/orca-private into w2-attach-merge 2026-11-10 20:44:16 -08:00
Neil 52c5558c1c fix(cloud-sync): safety pass never takes more than ~5% of the time (slow manifests on older images) 2026-11-10 20:44:08 -08:00
Neil df3d8e9208 fix(cloud): the sign-in toast always shows the current phase's button (Cancel / Open again) 2026-11-10 20:40:04 -08:00
Neil 77f92fb614 Merge pull request #352 from nwparker/cloud/team-presence-poke-disabled
fix(teammates): Poke reads as unavailable when the teammate hasn't opted in
2026-11-10 20:39:35 -08:00
Neil 81cecc208f fix(cloud-sync): skip gitignored files (listAll includeIgnored:false); one readChunk per small file 2026-11-10 20:37:51 -08:00
Neil 6bb8b95dc4 fix(cloud): the sign-in toast drops a stale button when a phase has none 2026-11-10 20:36:46 -08:00
Neil 425ef9c06e Merge pull request #353 from nwparker/create-speed/ja-27
fix(cloud): VM hostname is the workspace name, not the provider's per-boot id (JA-27)
2026-11-10 20:31:26 -08:00
Neil 779e1dbc12 Merge pull request #355 from nwparker/cloud/w3-ports-external-collapsed
fix(w3): hide the sandbox's own services from External ports in cloud workspaces
2026-11-10 20:29:33 -08:00
Neil ed46c5e149 fix(cloud): VM hostname is the workspace's name, not the provider's per-boot id (JA-27, hostname half)
Terminal prompts read ubuntu@<random VM id> and changed after every wake. Each start (create and wake)
now sets the hostname to the workspace's title (else its repo's name) as a hostname label, plus an
/etc/hosts entry, inline before orcad starts: no image change. Verified on a dev VM: hostname ja-hello,
127.0.1.1 ja-hello, no sudo warnings.
2026-11-10 20:28:52 -08:00
Neil 27c2dbcbec feat(cloud): env-check follow-up: no blank before the terminal, no setup nudge in cloud, notices bottom-right, one title on failure cards, Couldn't open row 2026-11-10 20:28:47 -08:00
Neil 82fc41f722 Merge pull request #350 from nwparker/create-speed/ja-11
fix(cloud-create): 'usually ~Ns' from this computer's own starts; warn past p95 or 30 s (JA-11)
2026-11-10 20:28:41 -08:00
Neil 98da8511fe Merge remote-tracking branch 'private/cloud/integration' into cloud/cloud-sync
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
2026-11-10 20:28:11 -08:00
Neil 48b51db335 fix(cloud-routines): Run now no longer reports invalid-response for a started run
The control plane sends a run's triggerDetail as an object ({requestedBy}, {event, target}, {scheduledFor}); the desktop schema wanted a string, so POST /run and run history failed to parse although the run had started, inviting a duplicate run. Accept the object and show one short label.
2026-11-10 20:27:04 -08:00
Neil 7857c54b05 test(cloud): toast test without casts 2026-11-10 20:27:00 -08:00
Neil 1742f7b667 fix(cloud): Neil's build gate — Set up once works, no setup page when only the agent is missing, one Create = one sandbox, no hours toast
- Set up once: Settings actually opens (the target alone did nothing); the post-create prompt now runs the
  agent sign-in inline (Claude setup-token, Codex device code) with progress and Try again, and stays
  until acted on or dismissed (PC-3 interim)
- PC-1: the Agent step is never a setup-page step and never gates a start
- PC-8: one Create press is one intent, single-flight across the setup page, its auto-start, reveal,
  Exit and Back; nothing creates while the setup page is open; the intent is the create's
  Idempotency-Key (preload → IPC → recipe context, create-speed's #345)
- PC-5: no 'Using sandbox hours' start toast
- setup page: fixed top offset, header line instead of the prompt card, right-aligned actions, Back walks
  the steps, × Exit keeps the draft without ever auto-running, done steps clickable
2026-11-10 20:27:00 -08:00
Neil 3e5fa71c07 fix(cloud): one post-create agent prompt — exact copy, names the workspace after a switch, clears when the account turns active 2026-11-10 20:26:43 -08:00
Neil 60f7d15d3d fix(cloud-create): JA-11 stats per kind (clone vs update), rolling last 20, threshold >= 1.5x median under 10 samples (design-squad) 2026-11-10 20:26:03 -08:00
Neil c60468e96e test: no type assertion in JA-11 timing test 2026-11-10 20:26:03 -08:00
Neil e7ea9f5f73 fix(cloud-create): 'usually ~Ns' from this computer's own start times; warn past p95 or 30 s (JA-11)
The hint used the control plane's create_ms (row to orcad ready, ~2-3 s) for a step the sheet measures
end to end (~6 s), so every normal start read as 'Taking longer than usual'. The sheet now records its own
'Start sandbox' durations (local, durations only, last 40), hints from their p50 once there are 5, and
warns past their p95; with no measurement yet, only past 30 s.
2026-11-10 20:26:03 -08:00
Neil 4f9164e599 Merge pull request #343 from nwparker/cloud/routine-home-filter
cloud Home: hide routine runs by default, with a Routine runs filter (G15)
2026-11-10 20:23:56 -08:00
Neil b086f9e4c7 Merge pull request #339 from nwparker/cloud/env-check-flash
Orca Cloud: no terminal flash between the setup page and the start screen
2026-11-10 20:21:41 -08:00
Neil 7f66337e47 fix(teammates): Poke reads as unavailable when the teammate hasn't opted in
design-squad P3 on #336: aria-disabled with the muted look (still focusable), a tooltip and
aria-describedby with the footer sentence, and clicks do nothing.
2026-11-10 20:20:01 -08:00
Neil c5fa284270 Merge pull request #344 from nwparker/cloud/cloud-desktop-tab
feat(cloud): Remote desktop as a first-class tab in Orca Cloud workspaces
2026-11-10 20:19:38 -08:00
Neil 9dd23dcca1 Merge pull request #336 from nwparker/cloud/team-presence
feat(cloud): teammate profiles (usage heatmap) and opt-in Pokes
2026-11-10 20:15:14 -08:00
Neil ff5648f7e3 refactor(cloud): type the handoff timer instead of casting 2026-11-10 20:13:40 -08:00
Neil bd6cd6e7f8 feat(cloud): JA-04 sheet 600px wide; sidebar row 'Set up once' opens the sheet too 2026-11-10 20:11:12 -08:00
Neil d029218f18 fix(w3): keep pid-less user listeners visible; hide only declared platform ports
Vercel's sandbox-init listens on 23456 as root (pid invisible to the user); the
VM declares it via ORCA_HOST_MANAGED_UNOWNED_PORTS. Any other pid-less
listener (root-run postgres, Docker-published ports) stays under External.
2026-11-10 20:10:47 -08:00
Neil 0d839bde21 Merge pull request #345 from nwparker/create-speed/idempotency-pc4
fix(cloud-create): create Idempotency-Key, named rows, repository step named once (PC-8 backstop, PC-4)
2026-11-10 20:09:59 -08:00
Neil 0b986f1fc6 fix(w3): hide the sandbox's own services from External ports in cloud workspaces 2026-11-10 20:04:36 -08:00
Neil c267ae3676 feat(cloud-sync): sync .context and an optional read-only mirror from cloud workspaces to this computer
- orcad: files.statMany (batched stat, up to 2,000 paths) for cheap manifests; older images fall back to files.stat
- main: per-workspace sync sessions (full pass on start/reconnect/wake, files.watch-driven incremental passes),
  read-only copies under ~/orca/cloud/<repository>/<workspace>, gitignore-aware via files.listAll, bounded
  (.context 250 MB / 50 MB per file; mirror 2 GB / 100 MB per file / 100k files), never wakes a sandbox,
  stops when asleep, removes the copy on archive/delete
- window: 'On this computer' section in the cloud status panel, '⋯ → Mirror to this computer…',
  removal line in the archive toast and delete dialog, confirm before removing changed copies
2026-11-10 20:04:14 -08:00
Neil 23200b58b4 Merge pull request #338 from nwparker/cloud/checkpoints-vm
test(cloud): per-turn checkpoints proven on a real dev VM (G11)
2026-11-10 20:03:59 -08:00
Neil 558863d9a4 fix(cloud-home): wrap Home switches as one group; drop casts in switch prefs 2026-11-10 20:02:17 -08:00
Neil c7e7a52d76 fix(cloud-create): repository row placeholder only after 150 ms, named 'Repository' for screen readers (design-squad on PC-4) 2026-11-10 19:59:51 -08:00
Neil e4283fd41d fix(cloud-create): Idempotency-Key on create, named rows, and the repository step named once (PC-8 backstop, PC-4)
- POST /v1/sandboxes takes an Idempotency-Key (api_idempotency, 24 h, scoped per account and member):
  the same key and body return the first create's sandbox instead of starting another; same key with a
  different body is a 422. The desktop sends context.idempotencyKey when its caller provides one.
- The desktop sends the workspace name as the create's title, so lists show it, not an untitled row.
- GET /v1/sandboxes/boot-plan?repo= says whether a create would clone or update (environment build);
  the driver asks in parallel with the create, so the build sheet names 'Clone repository' or 'Update
  repository' once, with a placeholder until it knows, and never relabels mid-run.
2026-11-10 19:59:50 -08:00
Neil 99867dc3e3 fix(teammates): no focus ring on the programmatically focused profile heading 2026-11-10 19:56:13 -08:00
Neil 6297641ee1 fix(cloud): hold the setup page until the start screen has painted 2026-11-10 19:55:54 -08:00
Neil 5eecf80094 Merge pull request #335 from nwparker/cloud/env-check-ux
Orca Cloud env checks: never block on warnings; push-access notice; blocked sandboxes sleep in 5 min
2026-11-10 19:53:54 -08:00