Make eco-app tests portable on native Windows #160

Closed
opened 2026-07-26 00:42:11 +00:00 by coilyco-ops · 0 comments
Member

Outcome

Make the full eco-app test suite portable on native Windows while preserving the canonical Linux behavior.

Evidence

Validation of commit e042ea5 collected 543 tests. 540 passed and three failed outside the changed compatibility and CI-policy surfaces:

  • Two cases in tests/test_dev_loop.py ask Windows to execute a POSIX .sh file as a native Win32 program and fail with WinError 193.
  • One case in tests/test_mod_packages.py observes ZIP entry order that follows platform-dependent path enumeration.
  • The focused tests/jobs suite, lint, mypy, formatting, and smoke checks pass.

Scope

  • Invoke POSIX test helpers through the repository's declared shell boundary on Windows.
  • Make mod-package archive input ordering explicit and deterministic.
  • Preserve the tested Linux command, exit-code, archive-content, and packaging contracts.
  • Add focused regression coverage for the portable boundary and deterministic archive order.

Acceptance

  • ward exec test passes from a native Windows checkout.
  • The canonical Linux CI suite stays green.
  • Tests do not branch on copied configuration values or weaken behavioral assertions.
  • No live deployment, server restart, or production verification is part of this issue.
## Outcome Make the full eco-app test suite portable on native Windows while preserving the canonical Linux behavior. ## Evidence Validation of commit `e042ea5` collected 543 tests. 540 passed and three failed outside the changed compatibility and CI-policy surfaces: * Two cases in `tests/test_dev_loop.py` ask Windows to execute a POSIX `.sh` file as a native Win32 program and fail with `WinError 193`. * One case in `tests/test_mod_packages.py` observes ZIP entry order that follows platform-dependent path enumeration. * The focused `tests/jobs` suite, lint, mypy, formatting, and smoke checks pass. ## Scope * Invoke POSIX test helpers through the repository's declared shell boundary on Windows. * Make mod-package archive input ordering explicit and deterministic. * Preserve the tested Linux command, exit-code, archive-content, and packaging contracts. * Add focused regression coverage for the portable boundary and deterministic archive order. ## Acceptance * `ward exec test` passes from a native Windows checkout. * The canonical Linux CI suite stays green. * Tests do not branch on copied configuration values or weaken behavioral assertions. * No live deployment, server restart, or production verification is part of this issue.
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-gaming/eco-app#160
No description provided.