Repository navigation
[CI/Build] Add maintainer-authorized XPU hardware core (Stage 2) - #5090
Conversation
Integrate fixed-pair XPU hardware validation into the shared E2E workflow with authorized execution, verified artifact handoff, isolated networking, and shared test-report checks. Build on the merged Stage 1 implementation and include the latest concurrent-copy and peer-exit IPC tests in the required hardware inventory. Signed-off-by: VincyZhang <wenxin.zhang@intel.com>
Pass the producing build attempt through the artifact handoff instead of validating against the consumer attempt. Keep strict artifact and provenance checks, and cover partial reruns and mismatched attempts in regressions. Signed-off-by: VincyZhang <wenxin.zhang@intel.com>
Remove custom XPU authorization and check publication, using GitHub revision context and the existing E2E gate. Restore shared CTest and TENT behavior and update XPU tests and documentation while preserving artifact verification and partial-rerun support. Signed-off-by: VincyZhang <wenxin.zhang@intel.com>
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
4 open issues
The EP invocation requests--rounds 5but the validation requires 8 rounds (range(8)) and later… · New This workflow step runs withset -euo pipefail, and the$(docker inspect ...)command… · New IfLD_LIBRARY_PATHwas previously unset/empty, this assignment ends with a trailing:which… · New The variable being validated isCHECKOUT_SHA, but the error message saysInvalid source SHA.… · New
What changed in this PR
Adds Stage 2 Intel XPU hardware validation to the shared E2E CI controller, including exact-artifact handoff, runner/GPU affinity contract, and strict report/inventory verification.
Changes:
- Introduces a unified
verify_xpu_ci.pytool that validates wheel integrity, artifact provenance/hashes, seccomp profile generation, and hardware-suite execution. - Adds an XPU core hardware workflow (
integration-test-xpu.yml) and wires it into the sharede2e-ci.ymlgate viarun-e2e-cilabel / workflow dispatch. - Adds/updates CPU-only regression tests and runner documentation for XPU CI Stage 2.
| File | Description |
|---|---|
| scripts/xpu/XPU_CI.md | Documents XPU runner isolation, affinity mask contract, triggers, required coverage, and diagnostics. |
| scripts/e2e/python/verify_xpu_wheel.py | Removes the older host-only wheel checker in favor of the unified verifier. |
| scripts/e2e/python/verify_xpu_ci.py | New unified verifier for wheel checks, artifact validation, seccomp prep, and hardware suite orchestration. |
| scripts/ci/tests/test_xpu_ci.py | Expands regression tests to cover new verifier behaviors and workflow contracts. |
| .pre-commit-config.yaml | Updates codespell ignore list for XPU/runner terminology. |
| .github/workflows/integration-test-xpu.yml | New hardware workflow: downloads exact artifacts, runs isolated containerized XPU core suites, uploads diagnostics. |
| .github/workflows/e2e-ci.yml | Integrates XPU build+hardware jobs into shared E2E CI and gate. |
| .github/workflows/ci_xpu.yml | Exposes artifact attempt, switches to unified verifier for host checks, packages python deps into native bundle. |
Review effort: Lite
Signed-off-by: VincyZhang <wenxin.zhang@intel.com>
|
Could we extract the substantial host-side shell logic from The workflow could retain the orchestration: permissions, checkouts, environment/input wiring, step ordering, the independent This would also help the regression tests: One important constraint: invoke the extracted script from |
There was a problem hiding this comment.
🟡 Changes recommended
The IPC inventory omits parameterized test identities, blocking hardware runs before execution, while the pull_request_target workflow exposes trusted-branch cache write credentials to PR-controlled code.
2 open issues
4 resolved since last review
The EP invocation requests--rounds 5but the validation requires 8 rounds (range(8)) and later… IfLD_LIBRARY_PATHwas previously unset/empty, this assignment ends with a trailing:which… This workflow step runs withset -euo pipefail, and the$(docker inspect ...)command… The variable being validated isCHECKOUT_SHA, but the error message saysInvalid source SHA.…
Review effort: Balanced
Move host preflight, Docker execution, exit traps and cleanup rechecks into the trusted run_core.sh entry points, with mocked-command lifecycle regressions. Restrict compiler-cache credential setup to push/schedule builds without an external revision. Correct IPC parameterized identities and document the 152-case native inventory. Signed-off-by: VincyZhang <wenxin.zhang@intel.com>
Thanks for the suggestion! |
|
Thanks for your update. I've added e2e label. |
Signed-off-by: VincyZhang <wenxin.zhang@intel.com>
The |
|
@Aionw This PR is ready for a while and is only to add XPU test suites, all checks passed. Is that OK to get it merged now? |



Description
Implement Stage 2 of the Intel XPU CI RFC #5036: maintainer-authorized, exact-revision hardware validation on two Intel Arc Pro B60 GPUs.
Stage 1 is merged: #5078 is included in upstream
mainatd6a738dc. The PR now contains only Stage 2 changes.Stage 2
runs-on: xpuhardware job to the existingE2E CIcontroller and sharedE2E Gate, usingrun-e2e-ciorworkflow_dispatch.Suggested Merge Priority
Module
mooncake-transfer-engine) - CI coverage onlymooncake-store) - CI coverage onlymooncake-ep) - CI coverage onlymooncake-wheel) - packaging validationType of Change
How Has This Been Tested?
Current Branch:
fe71fab4Executed locally on the current branch:
python -m unittest discover -s scripts/ci/tests -p test_xpu_ci.py python -m unittest discover -s scripts/ci/tests -p test_run_ctest.py pre-commit run --files $(git diff --name-only --diff-filter=ACMR upstream/main...HEAD) git diff --check upstream/main...HEADHistorical real hardware evidence
Successful fork validation run: https://github.com/VincyZhang/Mooncake/actions/runs/44089796933/job/134071687222
Test results:
Checklist
Signed-off-bytrailerAI Assistance Disclosure
Copilot assisted with implementation, CI failure diagnosis, exact-artifact reproductions, regression coverage, workflow validation, upstream conflict resolution, commit-history cleanup and PR preparation. The human submitter remains responsible for review and the final design.