mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-13 04:51:00 +08:00
* ci(windows): run MXC host probe, WebSocket agent, and OpenClaw forward examples checks Add separate hosted CI tasks for the MXC host probe, WebSocket agent, and OpenClaw forward examples. Use mock workloads to verify gateway, CLI, driver, and sandbox lifecycle wiring without requiring wxc-exec. Document that mock passes do not validate forwarding or MXC enforcement. * fix(tests): enhance environment isolation for WebSocket and OpenClaw mock tests * fix(mxc): enhance OpenClaw mock validation to require 'Ready' sandbox state * fix(mxc): restore native process helper in WebSocket example Restore Invoke-NativeCaptured for the PowerShell argument regression test and delegate CLI execution through it while preserving explicit gateway endpoint selection. Signed-off-by: Akber Raza <akberr@nvidia.com> --------- Signed-off-by: Akber Raza <akberr@nvidia.com>
151 lines
9.4 KiB
TOML
151 lines
9.4 KiB
TOML
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Windows MSVC validation and build tasks. These intentionally live outside
|
|
# the Linux/macOS task definitions so each hosted workflow has an explicit
|
|
# platform-native entry point.
|
|
|
|
["windows:check"]
|
|
description = "Check Windows x64 and ARM64 MSVC targets"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 check all"
|
|
|
|
["windows:check:x64"]
|
|
description = "Check Windows x64 MSVC target"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 check x86_64-pc-windows-msvc"
|
|
|
|
["windows:check:arm64"]
|
|
description = "Check Windows ARM64 MSVC target"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 check aarch64-pc-windows-msvc"
|
|
|
|
["windows:lint:x64"]
|
|
description = "Lint Windows x64 MSVC workspace targets with Clippy"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 lint x86_64-pc-windows-msvc"
|
|
|
|
["windows:lint:arm64"]
|
|
description = "Lint Windows ARM64 MSVC workspace targets with Clippy"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 lint aarch64-pc-windows-msvc"
|
|
|
|
["windows:build"]
|
|
description = "Build Windows x64 and ARM64 release binaries"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 build all"
|
|
|
|
["windows:build:x64"]
|
|
description = "Build Windows x64 release binaries"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 build x86_64-pc-windows-msvc"
|
|
|
|
["windows:build:arm64"]
|
|
description = "Build Windows ARM64 release binaries"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 build aarch64-pc-windows-msvc"
|
|
|
|
["windows:test:x64"]
|
|
description = "Run Windows x64 MSVC workspace tests with the CI nextest profile and server test support"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-precommit x86_64-pc-windows-msvc"
|
|
|
|
["windows:test:arm64"]
|
|
description = "Run Windows ARM64 MSVC workspace tests with the CI nextest profile and server test support on a native ARM64 host"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-precommit aarch64-pc-windows-msvc"
|
|
|
|
["windows:test:unsupported:x64"]
|
|
description = "Run focused Windows unsupported compute-driver contract tests"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-unsupported x86_64-pc-windows-msvc"
|
|
|
|
["windows:test:unsupported:arm64"]
|
|
description = "Run focused Windows unsupported compute-driver contract tests on a native ARM64 host"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-unsupported aarch64-pc-windows-msvc"
|
|
|
|
["windows:artifacts"]
|
|
description = "Report Windows release artifact sizes and SHA256 hashes"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 artifacts all"
|
|
|
|
["windows:ci"]
|
|
description = "Run Windows MSVC checks, release builds, x64 tests, and unsupported-driver contract tests"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 ci all"
|
|
|
|
["windows:test:mxc-real:x64"]
|
|
description = "Run native x64 real-wxc-exec Tier-2 integration tests (skip only when binary/backend is unavailable; supported ProcessContainer failures are fatal)"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-mxc-real x86_64-pc-windows-msvc"
|
|
|
|
["windows:test:mxc-real:arm64"]
|
|
description = "Run native ARM64 real-wxc-exec Tier-2 integration tests (skip only when binary/backend is unavailable; supported ProcessContainer failures are fatal)"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-mxc-real aarch64-pc-windows-msvc"
|
|
|
|
["windows:test:mxc-gb300:arm64"]
|
|
description = "Run native ARM64 GB300 real-MXC tests (strict: any required missing prerequisite or SKIP fails)"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-msvc.ps1 test-mxc-gb300 aarch64-pc-windows-msvc"
|
|
|
|
["windows:qualify:mxc:gb300:contract"]
|
|
description = "Validate the NVBug 6643699 GB300 Windows ARM64 MXC scope contract"
|
|
run = "uv run python crates/openshell-driver-mxc/qualification/validate.py contract"
|
|
|
|
["windows:qualify:mxc:gb300"]
|
|
description = "Execute and validate the complete GB300 Windows ARM64 MXC qualification contract"
|
|
run = "echo 'GB300 qualification requires a native Windows ARM64 host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File crates/openshell-driver-mxc/qualification/run-gb300-woa.ps1"
|
|
|
|
["windows:e2e:mxc"]
|
|
description = "Run MXC Tier-3 e2e scenario runner against real wxc-exec (probe-gated; skip-safe on hosts without the binary)"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File crates/openshell-driver-mxc/examples/run-mxc-e2e.ps1"
|
|
|
|
["windows:e2e:mxc:mock"]
|
|
description = "Run MXC Tier-3 e2e scenario runner in mock/wiring-only mode (no real wxc-exec required)"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File crates/openshell-driver-mxc/examples/run-mxc-e2e.ps1 -Mock"
|
|
|
|
["windows:e2e:mxc:provider-mock"]
|
|
description = "Run the shipped MXC provider-credential example with a synthetic credential and the in-process wxc mock on native Windows"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-provider-credential-e2e.ps1 -Mock"
|
|
|
|
["windows:e2e:mxc:ocsf-mock"]
|
|
description = "Run the shipped MXC OCSF audit example and validate the zero-provider-events finding with the in-process wxc mock on native Windows"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-ocsf-audit-e2e.ps1 -Mock"
|
|
|
|
["windows:e2e:mxc:aggregate-mock"]
|
|
description = "Run all four shipped aggregate MXC scenarios with the in-process wxc mock on native Windows"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-aggregate-e2e.ps1 -Mock"
|
|
|
|
["windows:e2e:mxc:inference-mock:x64"]
|
|
description = "Run the shipped MXC inference demos against the in-process wxc mock and a local API stub on Windows x64"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-inference-examples-e2e.ps1 -Target x86_64-pc-windows-msvc"
|
|
|
|
["windows:e2e:mxc:inference-mock:arm64"]
|
|
description = "Run the shipped MXC inference demos against the in-process wxc mock and a local API stub on Windows ARM64"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-inference-examples-e2e.ps1 -Target aarch64-pc-windows-msvc"
|
|
|
|
["windows:e2e:mxc:host-probe"]
|
|
description = "Run the shipped MXC host probe against an explicitly absent wxc-exec on hosted Windows"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-host-probe-e2e.ps1"
|
|
|
|
["windows:e2e:mxc:ws-agent-mock"]
|
|
description = "Run the shipped MXC WebSocket agent example in hosted Windows mock mode"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-ws-agent-mock-e2e.ps1"
|
|
|
|
["windows:e2e:mxc:openclaw-forward-mock"]
|
|
description = "Run the shipped MXC OpenClaw forward example in hosted Windows mock mode"
|
|
run = "echo 'windows:* tasks require a Windows MSVC host' && exit 1"
|
|
run_windows = "powershell -NoProfile -ExecutionPolicy Bypass -File tasks/scripts/windows-mxc-openclaw-forward-mock-e2e.ps1"
|