[nu-demo] hero_slides has path dep on hero_lib but no service_lib clones it #127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
First-run
service_slides installfails with:Slides never builds on a fresh VM.
Root cause
hero_slides/Cargo.tomlhas a sibling-path dep:but hero_skills has no
service_lib.nu, so nothing cloneshero_libbefore the slides build. Theservice_install_allflow has no way to pull that dep in.Demo workaround (applied 2026-04-23)
Manual
git cloneofhero_libinto~/hero/code0/hero_lib, then re-ranservice_slides install.Proper fix
Pick one:
(a) Add a
service_lib.numodule to hero_skills that cloneshero_libfrom Forge, and makeservice_slides's install step depend on it (same pattern other cross-repo deps use).(b) Convert the path dep in
hero_slides/Cargo.tomlto a git dep pointing athero_libondevelopmentso cargo fetches it directly — no orchestration change needed.Filed 2026-04-23 nu-shell demo bring-up. Signed-off-by: mik-tf
Fixed via option (b) from the issue body — the path dep on
hero_libwas converted to a git dep ondevelopment.Verification (current
hero_slides/crates/*/Cargo.toml):No
path = "../hero_lib/..."reference remains anywhere in the workspace. Cargo fetchesherolib_aifrom Forge directly duringservice_slides install, so noservice_lib.nuorchestration is needed.Intra-repo path deps (e.g.
hero_slides_sdk = { path = "../hero_slides_sdk" }) are correct — they're sibling crates in the same workspace, not the cross-repo case the issue was about.Signed-off-by: mik-tf