Neil and Justas Brazauskas
c3910146ee
fix(vm-recipes): destroy a recipe VM when a phone deletes its workspace ( #40205 )
...
Deleting a recipe workspace from the phone removed only its checkout and
left the VM this desktop created for it running. Only the desktop window
ran the destroy.
The relaying desktop now tags the rows of workspaces whose VMs it created
with the environment's name, and says whether deleting will destroy it.
The phone's delete sheet names the environment, and its delete asks for
the destroy (`destroyHost: true`). The desktop then owns that removal:
- it runs as a workspace lifecycle delete
- the environment's Orca removes the checkout and must answer positively.
An older Orca that answers on acceptance is polled until the workspace
is gone.
- the VM is destroyed through the shared cleanup, behind any running wake
or suspend, and only when no other workspace remains on it
- the result reports host.state truthfully: destroyed, kept, or
left-running (no destroy step)
The environment's own error codes reach the phone unchanged, and a failed
removal shows its message on the phone instead of only a haptic.
Removals that don't ask for the destroy (older phones, the CLI, other
clients) keep today's behavior. No CLI API changes.
Based on #39235 by jutaz, a port of #28435 .
Co-authored-by: Justas Brazauskas <brazauskasjustas@gmail.com >
2026-11-09 01:03:23 -08:00
..
2026-11-08 17:08:24 -08:00
2026-11-09 08:52:28 +00:00
2026-11-05 20:45:38 -08:00
2026-11-05 20:45:38 -08:00
2026-11-08 23:32:21 -08:00
2026-11-06 02:22:12 -08:00
2026-11-08 06:46:09 -08:00
2026-11-07 09:08:59 -08:00
2026-11-04 03:40:25 -08:00
2026-11-08 19:50:37 -08:00
2026-11-08 19:50:37 -08:00
2026-11-08 20:29:13 -08:00
2026-11-09 03:14:06 +00:00
2026-11-09 01:02:00 -08:00
2026-11-08 07:39:57 -08:00
2026-11-08 06:46:09 -08:00
2026-11-08 12:20:22 -08:00
2026-11-05 21:04:34 -08:00
2026-11-03 20:19:21 -08:00
2026-11-09 00:37:58 -08:00
2026-11-08 13:23:03 -08:00
2026-11-07 08:41:24 -08:00
2026-11-08 13:23:03 -08:00
2026-11-08 13:23:03 -08:00
2026-11-08 13:23:03 -08:00
2026-11-07 08:41:24 -08:00
2026-11-08 19:50:37 -08:00
2026-11-03 20:19:21 -08:00
2026-11-07 08:41:24 -08:00
2026-11-03 20:19:21 -08:00
2026-11-08 06:46:09 -08:00
2026-11-08 13:23:03 -08:00
2026-11-05 20:00:50 -08:00
2026-11-07 22:58:35 -08:00
2026-11-08 06:46:09 -08:00
2026-11-02 23:36:23 -08:00
2026-11-03 20:45:04 -08:00
2026-11-08 19:50:37 -08:00
2026-11-03 20:45:04 -08:00
2026-10-29 16:33:52 -07:00
2026-11-03 02:52:13 -08:00
2026-11-02 20:22:21 -08:00
2026-11-08 20:29:13 -08:00
2026-11-07 18:22:37 -08:00
2026-11-03 14:45:49 -08:00
2026-11-03 16:36:54 -08:00
2026-11-01 09:48:22 -08:00
2026-11-08 03:43:30 -08:00
2026-11-05 20:45:38 -08:00
2026-11-05 01:54:51 -08:00
2026-11-05 20:45:38 -08:00
2026-10-29 00:03:35 -07:00
2026-11-08 15:23:09 -08:00
2026-11-07 08:41:24 -08:00
2026-11-02 23:36:23 -08:00
2026-11-04 12:59:51 -08:00
2026-11-01 20:21:15 +00:00
2026-11-01 20:21:15 +00:00
2026-11-01 04:58:23 +00:00
2026-11-01 04:58:23 +00:00
2026-11-01 21:24:35 +00:00
2026-10-29 07:06:15 +00:00
2026-11-07 08:41:24 -08:00
2026-11-08 16:31:49 -08:00
2026-11-08 16:31:49 -08:00
2026-11-09 01:03:23 -08:00
2026-11-06 06:51:09 -08:00
2026-11-08 23:10:35 -08:00
2026-10-29 00:03:35 -07:00
2026-11-03 09:40:16 -08:00
2026-11-07 08:41:24 -08:00
2026-11-05 20:45:38 -08:00
2026-11-08 06:21:54 -08:00
2026-11-04 21:08:19 -08:00
2026-11-01 09:48:22 -08:00
2026-11-02 20:22:21 -08:00
2026-11-07 01:37:39 -08:00
2026-11-06 16:25:12 -08:00
2026-10-29 16:12:07 +00:00
2026-11-07 01:37:39 -08:00
2026-11-06 16:25:12 -08:00
2026-11-03 10:24:48 -08:00
2026-11-03 10:24:48 -08:00
2026-11-01 10:51:42 +00:00
2026-11-03 20:19:21 -08:00
2026-11-04 05:31:48 -08:00
2026-11-07 22:24:34 -08:00
2026-11-02 14:16:06 -08:00
2026-11-07 09:08:59 -08:00
2026-11-04 04:03:39 +00:00
2026-11-07 09:08:59 -08:00
2026-11-05 20:45:38 -08:00
2026-11-07 22:58:35 -08:00
2026-11-01 09:48:22 -08:00
2026-11-08 20:29:13 -08:00
2026-11-08 19:50:37 -08:00
2026-11-07 22:24:34 -08:00
2026-11-06 06:00:08 -08:00
2026-11-03 22:49:34 -08:00
2026-11-04 04:03:39 +00:00
2026-11-02 20:22:21 -08:00
2026-11-03 10:24:48 -08:00
2026-11-03 16:36:54 -08:00
2026-11-01 09:48:22 -08:00
2026-10-31 19:36:52 +00:00
2026-11-05 20:45:38 -08:00
2026-11-03 11:43:28 -08:00
2026-11-05 20:45:38 -08:00
2026-11-04 04:03:39 +00:00
2026-11-01 09:48:22 -08:00
2026-11-08 20:29:13 -08:00
2026-11-02 06:19:50 +00:00
2026-11-01 09:48:22 -08:00
2026-11-05 20:45:38 -08:00
2026-10-30 19:57:26 -07:00
2026-11-01 04:40:17 -08:00
2026-11-01 04:40:17 -08:00
2026-11-03 08:40:30 -08:00
2026-11-02 04:26:55 +00:00
2026-11-05 20:45:38 -08:00
2026-11-07 02:50:17 -08:00
2026-11-03 22:49:34 -08:00
2026-11-02 22:13:39 -08:00
2026-11-05 20:45:38 -08:00
2026-11-05 20:45:38 -08:00
2026-11-08 06:46:09 -08:00
2026-11-02 22:13:39 -08:00
2026-11-05 20:45:38 -08:00
2026-11-03 22:49:34 -08:00
2026-11-03 09:40:16 -08:00
2026-11-02 23:36:23 -08:00
2026-11-02 23:36:23 -08:00
2026-11-02 23:36:23 -08:00
2026-11-06 14:52:08 -08:00
2026-11-03 10:24:48 -08:00
2026-11-08 19:50:37 -08:00
2026-11-08 13:23:03 -08:00
2026-11-08 13:23:03 -08:00
2026-11-08 20:29:13 -08:00
2026-11-08 21:41:28 -08:00
2026-11-08 21:41:28 -08:00
2026-11-06 14:36:37 -08:00
2026-11-03 22:49:34 -08:00
2026-11-05 21:04:34 -08:00
2026-11-08 12:20:22 -08:00
2026-11-07 09:08:59 -08:00
2026-11-08 12:20:22 -08:00
2026-11-08 12:20:22 -08:00
2026-11-08 12:20:22 -08:00
2026-11-02 18:38:16 -08:00
2026-11-02 20:22:21 -08:00
2026-11-09 03:14:06 +00:00
2026-11-08 12:20:22 -08:00
2026-11-07 22:58:35 -08:00
2026-11-07 22:58:35 -08:00
2026-11-07 22:58:35 -08:00
2026-11-05 22:31:37 -08:00
2026-11-09 00:45:45 -08:00
2026-11-04 03:40:25 -08:00
2026-11-04 08:50:29 -08:00
2026-11-08 12:20:22 -08:00
2026-11-08 16:04:41 -08:00
2026-11-02 01:11:26 -08:00
2026-11-08 16:04:41 -08:00
2026-11-05 21:04:34 -08:00
2026-11-08 16:04:41 -08:00
2026-11-08 12:20:22 -08:00
2026-11-06 16:25:12 -08:00
2026-11-07 22:58:35 -08:00
2026-11-02 23:36:23 -08:00
2026-11-06 16:25:12 -08:00
2026-11-06 16:25:12 -08:00
2026-11-05 14:31:32 -08:00
2026-11-08 07:39:57 -08:00
2026-11-08 07:39:57 -08:00
2026-11-08 07:39:57 -08:00
2026-10-28 21:57:25 -07:00
2026-11-08 07:39:57 -08:00
2026-11-09 07:04:54 +00:00
2026-11-01 09:48:22 -08:00
2026-11-08 16:58:21 -08:00
2026-11-08 16:58:21 -08:00
2026-11-07 09:08:59 -08:00
2026-11-03 19:56:34 -08:00
2026-11-03 19:56:34 -08:00
2026-11-07 09:08:59 -08:00
2026-11-03 19:56:34 -08:00
2026-11-04 01:39:49 -08:00
2026-11-03 22:49:34 -08:00
2026-11-01 09:48:22 -08:00
2026-11-04 12:59:51 -08:00
2026-11-08 18:36:13 +00:00
2026-11-01 09:48:22 -08:00
2026-11-03 19:12:25 -08:00
2026-11-03 22:49:34 -08:00
2026-11-03 21:45:29 -08:00
2026-11-05 21:04:34 -08:00
2026-11-02 23:36:23 -08:00
2026-11-06 01:52:38 +00:00
2026-11-08 06:46:09 -08:00
2026-11-03 02:52:13 -08:00
2026-11-05 21:04:34 -08:00
2026-11-03 02:52:13 -08:00
2026-11-05 21:04:34 -08:00
2026-11-08 03:30:10 -08:00
2026-11-05 21:39:35 -08:00
2026-11-05 21:39:35 -08:00
2026-11-05 21:39:35 -08:00
2026-11-08 12:20:22 -08:00
2026-11-08 12:20:22 -08:00
2026-11-08 03:30:10 -08:00
2026-11-06 19:03:51 -05:00
2026-11-06 15:37:32 -08:00
2026-11-07 09:08:59 -08:00
2026-10-31 14:39:16 -07:00
2026-11-08 20:29:13 -08:00