2.9 KiB
2.9 KiB
Created
Created by tickets.sh create.
Review: approve
External reviewer: remove-insomnia-pod-command-reviewer-20260531
Reviewed implementation commit: c618fa6 (cli: remove pod command env override)
Verdict: approve
Summary:
INSOMNIA_POD_COMMANDis removed as an active runtime/config/test override.- Pod runtime launch remains typed through
PodRuntimeCommand, defaulting to current executable plus thepodprefix argument. - SpawnPod tests now use typed injection rather than process-wide env mutation.
- Production spawn/restore paths still use
PodRuntimeCommand::resolve(), preserve detached process handling, and retain the ready/socket delivery behavior.
Requirements mapping:
- No active non-work-item
INSOMNIA_POD_COMMANDreferences remain in the implementation branch. - No replacement env var was introduced.
- No
insomnia-podbinary/alias, Pod protocol/flag/profile semantic changes, ortuirename were introduced.
Blockers: none.
Non-blocking follow-up:
- Merge conflict in
docs/environment.mdis expected aftereliminate-test-only-env-vars; integration should keep the newer generic test-only wording while preserving removal of explicitINSOMNIA_POD_COMMANDreferences.
Validation adequacy:
- Coder validation covered fmt, helper/client/pod tests, cargo check, doctor, diff check, and active-reference grep.
- Reviewer additionally reran targeted tests/checks in the implementation worktree and confirmed no active refs for
INSOMNIA_POD_COMMAND,POD_COMMAND_OVERRIDE_ENV,from_override_env, orexecutable_onlyoutside work items.
Closed
Removed INSOMNIA_POD_COMMAND as an active runtime/config/test override.
Implementation:
PodRuntimeCommand::resolve()now always uses the typed default: current executable plus thepodprefix argument.- Removed override/env parsing and related tests from the
insomniahelper crate. - Updated SpawnPod tests to use typed
PodRuntimeCommandinjection instead of process-wide env mutation. - Preserved production spawn/restore behavior, detached process handling, and ready/socket delivery behavior.
- Updated docs so no active supported surface documents the removed env override.
Review:
- External reviewer
remove-insomnia-pod-command-reviewer-20260531approved implementation commitc618fa6.
Validation after merge:
cargo fmt --checkcargo test -p insomniacargo test -p client -p insomniacargo test -p pod --lib discovery::testscargo test -p pod --test spawn_pod_testcargo check -p tui -p pod -p client -p insomnia(passed with unrelated existing warnings)./tickets.sh doctorgit diff --checkgit grep -n "INSOMNIA_POD_COMMAND" -- ':!work-items' || trueproduced no active references.