Blocks that run your tools need the shell's environment (node from mise isn't on the daemon's PATH) #74
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?
From S21 (#70). Small and on its own, since every block that runs your tools needs it.
.bashrc(node and others from mise, nvm, fnm, pyenv) aren't on that PATH, though every pane has them. S21's workspace block failed with "node is not on PATH on this host" on geek, where node is a mise shim set up in.bashrconly.$SHELL -ic 'printf %s "$PATH"'(spikes/s21-chant-workspace/src/model.rs). That's per call, with no cache.illogicaldrestart, or a call), not on a timer..bashrcreads its workspace with no per-call fallback, and a test covers an rc file that adds to PATH.Merged into local main as
d1a9513(branch i74-shell-env,462616d; CI green on linux 797 and macos 796). Not pushed. Measured on geek: a cold resolve at startup took 236 ms; refreshes took 182–190 ms. A dev daemon started with PATH=/usr/bin:/bin resolved mise's shims, and node was found (v22.23.2). The workspace half of "done when" is checked in M34's run on geek, once the workspace block usesRunner::userwith no per-call fallback. Tracker: #86.Shipped in v0.7.0 (tag on
84b5e9b; geek, jake-mini and jake-air upgraded). Tracker: #86.