Staged allod tools tree lacks the pr namespace; wrapper clobbers ALLOD_TOOLS_DIR #41
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/archetypes#41
Loading…
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?
On a freshly rebuilt dev VM, the packaged dispatcher advertises the
prnamespace but cannot run it:Two defects in
modules/dev-home-shared.nix:1. The staged store tree is pm-only.
allod-pm-toolscopiespm/and nothing else, butallod pr explain(allod/tools#141, on master since58fb26c) is a multi-file tool tree with three roots:pr-explain/(the tool),lib/(explainsources../lib/workspace.shrelative to itself), andforgeat the tree root (pr_explain_resolve_forgelooks for$TOOLS_ROOT/forgeby design — allod/tools3e33a82— so the separately packagedforgeon PATH does not satisfy it). Sketch:2. The wrapper clobbers the operator's escape hatch. The dispatcher prelude runs
export ALLOD_TOOLS_DIR="${pmTools}"unconditionally, so the error message's own remedy ("set ALLOD_TOOLS_DIR") is impossible to follow with the packaged binary. It should respect an existing value:Why this is not urgent (and what keeps VMs working meanwhile): the dispatcher's resolver falls back to
$WORK_DIR/allod/tools/pr-explain, so a pulled live checkout unblocks any VM today (cd ~/work/allod/tools && git pull --ff-only). But that fallback is exactly the dependence the staging comment promises to avoid, so the staged tree should be completed. No deploy-side lock movement is needed until this lands; the fix can ride master and reach VMs whenever the archetypes pin next advances (currently held back by the in-progress microvm work).Acceptance: on a rebuilt VM with
~/work/allod/toolsdeleted,allod pr explain --dry-run …reaches the consent prompt, andallod pm liststill works.