1.9 KiB
1.9 KiB
| id | slug | title | status | kind | priority | labels | created_at | updated_at | assignee | legacy_ticket | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 20260531-085959-remove-insomnia-pod-command-env | remove-insomnia-pod-command-env | CLI: remove INSOMNIA_POD_COMMAND override | closed | task | P2 |
|
2026-05-31T08:59:59Z | 2026-05-31T10:12:03Z | null | null |
Background
The single-binary migration changed the normal Pod runtime command to the current insomnia executable plus the pod prefix argument. During the transition, INSOMNIA_POD_COMMAND remained as an executable-only development/test override.
The user decision is to remove this override now that runtime launch is aligned with the single binary. Keeping a process-wide environment override is no longer worth the configuration surface area.
Requirements
- Remove
INSOMNIA_POD_COMMANDsupport from theinsomniahelper crate and any callers/tests. - Keep default Pod runtime command behavior unchanged: current executable plus
podprefix argument. - Update spawn/restore tests so they no longer depend on a process-wide command override.
- Prefer a typed test injection path or direct unit tests of
PodRuntimeCommandconstruction. - Do not introduce a replacement environment variable.
- Prefer a typed test injection path or direct unit tests of
- Update docs to remove
INSOMNIA_POD_COMMANDfrom supported environment variables. - Preserve detached process behavior and
INSOMNIA-READYhandshake behavior.
Non-goals
- Reintroducing an
insomnia-podbinary or alias. - Changing Pod runtime flags/profile/manifest semantics.
- Changing the Pod protocol.
- Renaming the
tuipackage/crate.
Acceptance criteria
git grep INSOMNIA_POD_COMMANDfinds no active code/docs references outside historical work-item records.- Pod spawn/restore still defaults to
insomnia pod .... - Focused tests cover runtime command construction without environment-variable mutation.
cargo fmt --check, relevantcargo test/cargo check,./tickets.sh doctor, andgit diff --checkpass.