1.4 KiB
1.4 KiB
Added INSOMNIA_POD_RUNTIME_COMMAND as a narrow development escape hatch for dogfooding/self-rebuild cases where current_exe() can point at a deleted debug binary.
Implementation:
- Added the override in
client::PodRuntimeCommand. - Unset/empty values preserve the default
current_exe() + ["pod"]behavior. - Non-empty values replace only the executable path and still automatically receive the
podprefix argument. - The value is not shell-parsed and is not argument-split.
- Spawn/restore failure diagnostics include the resolved runtime command.
- Documented the variable in
docs/environment.mdas development-only, not normal user configuration. - Did not reintroduce
INSOMNIA_POD_COMMANDor old executable-without-prefix semantics.
Review:
- External reviewer
dev-pod-runtime-env-reviewer-20260531approved implementation commit0031953ed352ba7fae9e798b6aeee1e8ea080816. - Reviewer noted a non-blocking future improvement: display formatting for runtime commands could quote argv pieces with spaces more clearly.
Validation after merge:
cargo fmt --checkcargo test -p client runtime_commandcargo test -p clientcargo check -p client -p pod -p tui -p insomnia(passed with existing dead-code warnings)./tickets.sh doctorgit diff --checkgit grep -n "INSOMNIA_POD_COMMAND" -- ':!work-items' || trueproduced no active references.