You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows: --isolation sandbox and --tee mutate box-create path instead of early fail-closed #249
On Windows WHPX (a3s-box 3.2.5), unsupported --isolation sandbox and --tee still print Creating box ... and enter execution startup / reconciliation before failing. Peers such as --cpus 2, --health-cmd, and --network bridge reject before box creation.
This violates the soak plan rule that unsupported combinations must fail before mutating runtime state (docs/soak-test-plan.md).
Environment
Host: Windows 10/11 x86_64 (windows/amd64)
Package: a3s-box 3.2.5 Windows WHPX
a3s-box info: VM backend: whpx, Control channel: named-pipe
Repro
a3s-box run --rm --isolation sandbox alpine:3.20-- true
a3s-box run --rm --tee alpine:3.20-- true
# Contrast — early reject, no "Creating box"
a3s-box run --rm --cpus 2 alpine:3.20-- true
a3s-box run --rm --health-cmd true alpine:3.20-- true
a3s-box run --rm --network bridge alpine:3.20-- true
Observed
Sandbox:
Creating box noble_wozniak (31564a5f3b09)...
Error: execution backend unavailable: ... VM boot failed: Sandbox host capability check failed: Sandbox isolation is supported only on Linux ... VM state error: Sandbox execution requires Linux
TEE:
Creating box quick_diffie (54b465cd8a74)...
Error: execution lifecycle failed: ... TEE configuration error: TEE configuration is not supported on Windows
--cpus 2 (good baseline):
Error: --cpus: the Windows WHPX backend currently supports exactly 1 virtual CPU; requested 2
No leftover boxes were observed after failure (boxes dir count unchanged), but the create path still runs.
Expected
Fail closed at request validation (same layer as --cpus / health / bridge):
No Creating box ...
No execution ID / VM boot / reconciliation
Short platform diagnostic (Linux-only / Windows-unsupported)
First-principles test case
WIN-NEG-01 / WIN-NEG-02 in the Windows first-principles acceptance matrix (related issue): assert stderr does not contain Creating box, exit ≠ 0, and no new box directory after failure.
Activity
ZhiXiao-Lin commentedon Sep 7, 2026
Tracked in acceptance matrix #252 (WIN-NEG-01 / WIN-NEG-02).
fix(windows): fail-closed WHPX negatives and honest wait exit codes