Windows-host go test runs drown in environment failures (ward + cli-guard) #1131

Open
opened 2026-07-12 06:30:25 +00:00 by coilysiren · 0 comments
Owner

Running go test ./... on Kai''s Windows tower produces dozens of environment failures unrelated to the code under test: hardcoded /bin/echo and /tmp expectations, msys-vs-native path comparisons (/tmp/X vs C:\msys64\tmp\X), docker shims not in %PATH%, and baked-asset case handling (execassets\ward-kdl.aider.guardfile.kdl: file does not exist). cli-guard: cli/shell TestResolve_PluggedInReplacesPathLookup + TestExecIn_RunsInDirectory. ward: dozens across cmd/ward.

Consequence: on the Windows host the suite cannot distinguish a real regression from platform noise - during the 2026-07-11 stability session every local verification needed a clean-main baseline diff to tell them apart. Either make the suites Windows-clean (t.Skip on the genuinely POSIX-only ones, path-normalize the rest) or add a documented -short/tag lane for Windows dev.

Low priority: CI (Linux) stays authoritative. Filed from the stability sweep.

Running `go test ./...` on Kai''s Windows tower produces dozens of environment failures unrelated to the code under test: hardcoded `/bin/echo` and `/tmp` expectations, msys-vs-native path comparisons (`/tmp/X` vs `C:\msys64\tmp\X`), docker shims not in %PATH%, and baked-asset case handling (`execassets\ward-kdl.aider.guardfile.kdl: file does not exist`). cli-guard: `cli/shell` TestResolve_PluggedInReplacesPathLookup + TestExecIn_RunsInDirectory. ward: dozens across cmd/ward. Consequence: on the Windows host the suite cannot distinguish a real regression from platform noise - during the 2026-07-11 stability session every local verification needed a clean-main baseline diff to tell them apart. Either make the suites Windows-clean (t.Skip on the genuinely POSIX-only ones, path-normalize the rest) or add a documented `-short`/tag lane for Windows dev. Low priority: CI (Linux) stays authoritative. Filed from the stability sweep.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
coilyco-flight-deck/ward#1131
No description provided.