start.bats "the tmux session does not carry iw's internal plumbing" fails at baseline: IW_HOME missing from the captured pane env #556
Labels
No labels
agent-ready
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
needs-input
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#556
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?
Found while working IW-517.
test/start.batscase "start: the tmux session does not carry iw's internal plumbing" fails on this machine at baseline. Confirmed against4605fc9cin a clean worktree, so it is unrelated to the IW-517 change.SYMPTOM:
IW_HOME=is missing from the captured pane environment, so the assertion that the session carries no internal plumbing reads a pane that does not carry the variable the test expects to inspect.Distinct from #468: that issue is about tmux BATS tests failing NON-deterministically under a full suite run. This one fails deterministically, on its own, at baseline.
Needs its own investigation.
Intake: needs-human
Workflow: diagnostic
Reason: G7 — the proposed fix turns every sessionEnv entry into a tmux
-eargument, which freezes the 13 secrets your tmux config drops on purpose (a rotated token stays broken); the scope of-eis the one choice a human must make, and the analysis makes it silentlyAnalysis: project-management/issues/IW-556/analysis.md on branch IW-556
Reproduced again while working IW-566, on a different branch and a later baseline.
The same case fails on a clean detached worktree at
f3a938bc— a commit that contains none of the IW-566--no-waitcode — and fails identically after the change.IW_HOME=never appears in the captured pane environment in either state.So the failure is still deterministic, still at baseline, and still unrelated to whatever change is in flight. It makes
./iw ./testnon-green on every branch, which costs every phase session a manual "is this mine?" check.