Make Ward's test suite hermetic on native Windows #1573

Closed
opened 2026-07-28 00:36:19 +00:00 by coilyco-ops · 0 comments
Owner

Native Windows ward exec test previously produced broad failures that obscured the actual platform gaps. The failures came from a poisoned scratch temp cascade, extensionless POSIX fake command fixtures, host HOME leakage through USERPROFILE, and host-native path construction for container paths.

Acceptance:

  • Test HOME, profile, cache, and scratch state cannot read the operator's real Ward or agent state.
  • Fake external commands receive Windows argv exactly, including Go-template arguments.
  • Container and transcript paths use POSIX semantics while Windows host paths remain native.
  • Unix-only signal, disk-pressure, release-script, executable-mode, and dependency locking assertions are explicit platform restrictions.
  • The full native Windows test suite passes.
  • Build, vet, lint, pre-commit, and Linux cross-build validation pass.
Native Windows `ward exec test` previously produced broad failures that obscured the actual platform gaps. The failures came from a poisoned scratch temp cascade, extensionless POSIX fake command fixtures, host HOME leakage through `USERPROFILE`, and host-native path construction for container paths. Acceptance: * Test HOME, profile, cache, and scratch state cannot read the operator's real Ward or agent state. * Fake external commands receive Windows argv exactly, including Go-template arguments. * Container and transcript paths use POSIX semantics while Windows host paths remain native. * Unix-only signal, disk-pressure, release-script, executable-mode, and dependency locking assertions are explicit platform restrictions. * The full native Windows test suite passes. * Build, vet, lint, pre-commit, and Linux cross-build validation pass.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
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#1573
No description provided.