nutools(compute): suffix flip + --download wiring (home#212) #227

Merged
mik-tf merged 1 commit from development_mik_home212_compute into development 2026-05-06 23:53:56 +00:00
Owner

Summary

Wire service_compute for the home#212 binary-rollout pattern.

  • service_compute.nu: add --download / --version flags. With --download, install short-circuits to svc_install_download using x86_64-unknown-linux-musl suffix (binary-only path; cloud-hypervisor / my_hypervisor / mycelium / system pkgs intentionally NOT installed — operators who plan to actually start hero_compute should run install without --download once first).
  • start: thread --download through to install.
  • dispatcher.nu: forward --download / --version to [compute install], and --download to [compute start] (closes the same dispatcher-gap class fixed in sessions 62 and 70 for other services).

Why

home#212 — every Hero stack service follows the --download shape so heroci can fetch the entire ecosystem from Forgejo Releases without cargo. hero_compute is one of four off-radar repos in Bucket D of the home#212 audit; this is the consumer half.

Producer side: hero_compute v0.1.8 assets PATCH-renamed in-place during session 71; producer PR lhumina_code/hero_compute#105 lands the matrix-artifact rename so future tags ship in target-triple shape too.

Test plan

  • dispatcher gap close grep: grep -qE '\[compute install\].*--download=' dispatcher.nu
  • suffix in service_compute.nu is x86_64-unknown-linux-musl (matches PATCH-renamed v0.1.8 assets) ✓
  • heroci smoke (post-merge): service compute install --download --reset --version v0.1.8 — verify all 4 binaries land at /root/hero/bin/ (hero_compute, hero_compute_server, hero_compute_ui, hero_compute_explorer).

Tracks lhumina_code/home#212.

## Summary Wire `service_compute` for the home#212 binary-rollout pattern. - `service_compute.nu`: add `--download` / `--version` flags. With `--download`, install short-circuits to `svc_install_download` using `x86_64-unknown-linux-musl` suffix (binary-only path; cloud-hypervisor / my_hypervisor / mycelium / system pkgs intentionally NOT installed — operators who plan to actually start hero_compute should run install without `--download` once first). - `start`: thread `--download` through to install. - `dispatcher.nu`: forward `--download` / `--version` to `[compute install]`, and `--download` to `[compute start]` (closes the same dispatcher-gap class fixed in sessions 62 and 70 for other services). ## Why home#212 — every Hero stack service follows the `--download` shape so heroci can fetch the entire ecosystem from Forgejo Releases without cargo. hero_compute is one of four off-radar repos in **Bucket D** of the home#212 audit; this is the consumer half. Producer side: hero_compute v0.1.8 assets PATCH-renamed in-place during session 71; producer PR https://forge.ourworld.tf/lhumina_code/hero_compute/pulls/105 lands the matrix-artifact rename so future tags ship in target-triple shape too. ## Test plan - [x] dispatcher gap close grep: `grep -qE '\[compute install\].*--download=' dispatcher.nu` ✓ - [x] suffix in service_compute.nu is `x86_64-unknown-linux-musl` (matches PATCH-renamed v0.1.8 assets) ✓ - [ ] heroci smoke (post-merge): `service compute install --download --reset --version v0.1.8` — verify all 4 binaries land at `/root/hero/bin/` (`hero_compute`, `hero_compute_server`, `hero_compute_ui`, `hero_compute_explorer`). Tracks https://forge.ourworld.tf/lhumina_code/home/issues/212.
nutools(compute): suffix flip + --download wiring (home#212)
All checks were successful
Build and Publish Skills / build-and-publish (pull_request) Successful in 5s
2744e32825
- service_compute.nu: add --download / --version flags; install short-circuits
  to svc_install_download with x86_64-unknown-linux-musl suffix when
  --download is passed (binary-only path, runtime deps cloud-hypervisor /
  my_hypervisor / mycelium / system pkgs intentionally skipped — operators
  who plan to actually start hero_compute should run install without
  --download once first).
- start: thread --download through to install.
- dispatcher.nu: forward --download / --version to [compute install], and
  --download to [compute start] (closes the gap pattern carried in sessions
  62 and 70 for other services).

Producer side: hero_compute v0.1.8 assets PATCH-renamed in-place during
session 71; producer PR
lhumina_code/hero_compute#105 lands the
matrix-artifact rename so future tags ship in target-triple shape too.

Tracks lhumina_code/home#212.

Signed-off-by: mik-tf
mik-tf merged commit 10493a982a into development 2026-05-06 23:53:56 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_skills!227
No description provided.