Skip to content

Windows WHPX: next-wave first-principles acceptance coverage (soak + CLI negatives) #260

Closed

Description

@ZhiXiao-Lin

Summary

After #249–#257 / PR #258, docs list WIN-POS / WIN-NEG / WIN-SLO families in docs/windows-whpx.md, but the automated soak and Windows CLI coverage still omit several first-principles rows. This issue tracks the next wave of acceptance tests (not product features).

Gaps vs current gates

Row family Docs claim Soak (windows-whpx-soak.ps1) CLI command_coverage Windows
rename WIN-POS missing not WHPX-gated
wait/kill exit honesty (#256 fix) WIN-POS missing unit tests only
env / stdio WIN-POS (#255) missing missing
restart + monitor WIN-POS missing monitor starts on Windows in coverage; no restart policy soak
bridge early reject WIN-NEG n/a missing (see companion bug)
pool start exit WIN-NEG n/a status covered; start hang not covered
multi-CPU fail-closed WIN-NEG n/a managed-record unit; add CLI no-pull assert
post-#258 SLO (exec-ready 10s / stop 5s) WIN-SLO needs re-soak on build containing #258 n/a

Proposed test plan (IDs)

  1. Extend soak with: rename, wait after kill (expect inspect ExitCode match), -e round-trip, foreground stdio, optional --restart + monitor smoke.
  2. Extend Windows CLI negatives: bridge before pull; pool start exits; --cpus 2 before Creating box; keep sandbox/tee/health/compose/pause.
  3. Re-run WHPX soak on a package built from post-fix(windows): WHPX fail-closed negatives, wait exit honesty, quieter happy-path WARNs #258 main; assert no happy-path exec-ready WARN under 10s for trivial workloads.

Out of scope

Activity

  1. added
    enhancement
    area/runtime
    priority/medium
    on Sep 7, 2026
  2. ZhiXiao-Lin commented on Sep 7, 2026

    @ZhiXiao-Lin
    Author

    Additional first-principles rows found in follow-up WHPX probing (a3s-box 3.2.5):

    New product issues (filed separately)

    • container-update --cpus 2 persists invalid WHPX config (companion bug)
    • network create accepts bridge despite info saying unsupported (companion bug)

    Extra acceptance rows to add to this coverage issue

    • WIN-NEG-CUPD-*: container-update must share run/create WHPX vCPU validation
    • WIN-NEG-NETCREATE-*: network create/connect policy vs info Bridge networking line
    • WIN-POS-PRIV/CAP: --privileged / --cap-add are accepted and recorded on MicroVM; decide whether that is intentional guest-only semantics and add soak/docs assertions (inspect fields) so users are not surprised
    • WIN-NEG-DEVICE/GPU/UDP/HOSTIP: already fail closed early — keep regression asserts in CLI coverage
    • WIN-SLO: packaged 3.2.5 still emits exec-ready WARN at ~5.1s and stop-delivery WARN at ~1.0s on trivial workloads; re-verify on a build that includes fix(windows): WHPX fail-closed negatives, wait exit honesty, quieter happy-path WARNs #258
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/runtimeenhancementpriority/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions