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
Commit 7beadcb
Browse filesBrowse the repository at this point in the historyBrowse files
test(driver-mxc): add probe-gated real wxc-exec test lane (no mocks)
- tests/wxc_exec_real.rs: ignored-by-default integration tests against a
real wxc-exec. Six --dry-run contract tests run wherever the binary
exists (they caught the network.proxy shape mismatch); enforcement
tests (processcontainer default-deny positive/negative, isolation
session lifecycle round trip with a deprovision drop-guard) probe the
backend and SKIP with a recorded reason where it is not live.
- examples/probe-mxc-host.ps1: classifies a host (OS build, --probe,
per-backend trial) and emits a JSON capability verdict.
- examples/run-mxc-e2e.ps1 + e2e-policies/: scenario runner generalizing
run-demo.ps1 (fs-rw, fs-readonly, fs-default-deny-empty,
network-policy-rejected) with PASS/FAIL/SKIP gating and a stale
OPENSHELL_MXC_MOCK_WXC guard in real mode.
- tasks/windows.toml: windows:test:mxc-real:x64, windows:e2e:mxc,
windows:e2e:mxc:mock.
Signed-off-by: Giedrius Burachas <[email protected]>
(cherry picked from commit 49afafe)
Signed-off-by: Jamie King <[email protected]>
Copy file name to clipboardExpand all lines: crates/openshell-driver-mxc/README.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,35 @@ the demo Windows host and follow `mxc-demo-runbook.md` inside it. The
108
108
script prints a SHA256 manifest so the operator can sanity-check what
109
109
landed before moving it.
110
110
111
+
## Real-MXC test lane
112
+
113
+
Three tasks drive real `wxc-exec.exe` hardware; all are **skip-safe** — any test
114
+
or scenario that requires an absent binary or backend prints a SKIP reason and
115
+
exits 0 rather than failing.
116
+
117
+
| Task | What it runs | When to use |
118
+
|---|---|---|
119
+
|`windows:test:mxc-real:x64`|`tests/wxc_exec_real.rs` — Tier-2 invoker tests with `--ignored --test-threads=1`| Pre-merge on any Windows host that has `wxc-exec`; dry-run tests always pass; enforcement tests probe-gate themselves |
120
+
|`windows:e2e:mxc`|`examples/run-mxc-e2e.ps1` — Tier-3 scenario runner, real binary, probe-gated | Demo box / nightly; needs the gateway + CLI binaries in the script directory |
121
+
|`windows:e2e:mxc:mock`| Same runner with `-Mock` — wiring-only, no real `wxc-exec` needed | Any Windows host (CI, dev machine); validates wiring and the network-reject scenario |
122
+
123
+
**Probe script:**`examples/probe-mxc-host.ps1` emits a JSON capability report
0 commit comments