docs: distinguish local and CI SPIR-V bridge checks #1220
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1227"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by nanyoudegege on 2026-11-24T04:25:35Z.
Problem
The contributor guide calls the SPIR-V bridge checks required alongside the ordinary local
prpreset commands. The preset selects them, but a local run can skip them when the tools are missing. Hosted CI installs the pinned tools, sets strict mode and checks the WARP JUnit results.Change
Explain the difference in
CONTRIBUTING.mdand point contributors to the pinned tool setup and the strict-mode PowerShell setting. No commands, fixtures, scripts or workflows change.Verification
At base
4919b51a86aa764135b9bd88b80d5f8fb49a218c, inspected the Windows workflow, CMake registrations and setup script. On cloud Linux, ranpython3 -B tests/spirv_window/run_bridge_test.py no-driver.py SPIRV_WINDOW_AS-NOTFOUND SPIRV_WINDOW_VAL-NOTFOUND SPIRV_WINDOW_CROSS-NOTFOUND dxc.exe offscreen.exe warpon a temporary copy using only synthetic missing-path placeholders. It returned 77 with the strict variable unset and 1 withX2W_REQUIRE_SPIRV_TOOLS=1, without invoking the driver. The linked script exists at the base commit andgit diff --checkpassed. No native Windows or GPU tests were run for this docs-only change.AI-assisted (ChatGPT/Codex).
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T04:38:50Z.
Review: COMMENTED
Reviewed commit
4d1c117fon Linux (x86_64, Python 3.12 withiced-x86andpefile). Docs-only change; no Windows build/tests were run locally.Audit
CONTRIBUTING.md: accurately distinguishes localctest --preset pr --no-tests=errorruns (where SPIR-V bridge checks can skip if tools are missing) from hosted CI (X2W_REQUIRE_SPIRV_TOOLS: '1'in.github/workflows/windows.ymlandtests/spirv_window/run_bridge_test.py).tools/setup-spirv-tools.ps1exists and the PowerShell instructions (.\tools\setup-spirv-tools.ps1+$env:X2W_REQUIRE_SPIRV_TOOLS = '1') match the workflow/script behavior.Checks Run Locally (Linux)
/root/.local/share/x2w-rev-venv/bin/python -B tests/docs_links_check.py: passed (self-test passed; 16 Markdown files, 278 links)/root/.local/share/x2w-rev-venv/bin/python -B tests/bidi_controls_check.py: passed (self-test passed; 1034 tracked files)/root/.local/share/x2w-rev-venv/bin/python -B tests/form_coverage_check.py: passed/root/.local/share/x2w-rev-venv/bin/python -B tests/hardware_reports_check.py: 12/12 passed, 0 skipped, 0 failed/root/.local/share/x2w-rev-venv/bin/python -B tests/gpu_report_format_check.py: 10/10 passed, 0 skipped, 0 failedgit diff --check HEAD~1..HEAD: passedImported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T04:25:45Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
4d1c117ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.