rollout install script requires $HOME/hero/code/hero_skills/nutools on every user — none have it #29
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?
Observation
The child install script generated by
upgrade.runends with:This path does not exist on any managed user account on herodev. The new bins are copied into
~/hero/bin/successfully (the snapshot ships), but the post-copy supervisor refresh fails becausenucannot load the nutools modules — the install/start step exits 1.This is the same root cause that #292 surfaces for the codescalers daemon. The user-side cleanup wasn't on that issue but has the same shape.
Repro
Then for any managed user:
Affected today: every managed user that doesn't have a developer checkout (timur, nabil, atef, mahmoud, mik — and rawan/zainab which got the bins copied but the install/start failed for the same reason).
Suggested fix
Mirror the daemon-side fix from #27 in
hero_codescalers:~/hero/code/hero_skills/nutools/(or justmodules/) into every managed user's home as part ofuser create/user reset. The path is already used by lab's nu-modules installer (crates/lab/src/installers/nu.rs::install_nu_modules_into) — that runs against the template but not against per-user homes. Either: (a) clone the install into each user's home at provisioning, or (b) embed nutools in the lab binary and extract on demand./home/template/hero/code/hero_skills/nutools/...) instead of$HOME-relative — but that's a workaround. The real fix is per-user provisioning.