adom-cli
Public Made by Adomby adom
Adom CLI — platform binary for containers, repos, workspaces, orgs, SSH keys, Hydrogen settings, and more
apply that ends with an unresolvable app records no _applied entry; teardown then fails and HC Unload exits 1
Seen on gallia 2026-09-14 19:38 with the Hydrogen Cloud Apply button (adom-cli 0.7.3 at the time; the binary auto-updated to 0.7.4 at 19:40).
Sequence from ~/.adom/launch-logs and ~/.adom/launches.json:
- 19:38:57 mjpeg-stream-viewer launched, printed http://127.0.0.1:45721/ (registered in launches.json at 19:38:58).
- 19:38:59 drone-rf launched, log ends with "ERROR: the Wall did not answer within 90 s; see .../serve.log" (adom/drone-rf#1 again).
- The live tree afterwards had Cam .35, Cam .34 and Drone RF Wall tabs, but
_appliedin launches.json never got an entry foradom/drone-layout-dc-00#hydrogen/workspace.json(only the old scratch bench.json entry remains). adom-cli hydrogen workspace teardown adom/drone-layout-dc-00therefore exits 1 with "no recorded apply", and HC's Unload button reports the process failed. The user is stuck with the bench and no way to unload it from the UI. I removed the panes and stopped the apps by hand.
Ask: record _applied (tabs, apps, displaced) as soon as the tabs exist, before or regardless of app launch outcomes, so a partial apply (one app unresolvable, timed out, or wedged) is always tear-down-able. On the same failure path, also make sure the tabs that did get created are the ones recorded, and that a later successful apply unions rather than replaces (0.7.2 note). A teardown --force <ref> that removes bench-named tabs and stops registered apps without a ledger entry would be a useful escape hatch for exactly this state.