tooling: list hardware reports the coverage table does not link #696
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/702"
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 romn4rch on 2026-11-22T21:09:34Z.
Change
Adds
tools/hardware_reports.py, a read-only helper for the coverage batches from #1. Batches such as #481, #501 and #657 were assembled by hand: find the reports that the README table does not link yet, then copy the adapter, driver, lanes and skip reasons into rows. The helper does the lookup and the copying. The person preparing the batch still decides what goes into the table.For each report whose comment
README.mddoes not link, it prints the adapter, driver, Windows build, source commit, backend, debug-layer status and test results. It also names the row the report belongs to (by adapter name, and by device ID where the row names one) and suggests cells in the table's wording, for exampleSkipped, lane range 32–32, Shader Model 6.5orSkipped, DXR tier 1.0. It notes edited copies of the report, the same text posted twice and results that differ from the existing row. Attached report files, Linux translation-layer runs and results outside the generated layout are listed for manual review. The tool makes no network requests and does not editREADME.md.tools/gpu-check/Run-GpuCheck.ps1. The new check asserts that the header, the section headings and the six summary field patterns match the runner's.tests/hardware_reports_check.pyuses synthetic comments only. It runs in the Linux Python job and is added to the matching lists inAGENTS.mdanddocs/non-windows-hosts.md.CONTRIBUTING.mdgets two sentences next to the hardware-thread instructions.gh api --paginate, and a UTF-16 file from Windows PowerShell 5.1 redirection.Refs #1.
Verification
At
3b9bb1aplus this change, Python 3.12:Against the 204 comments in #1 at 20:55 UTC on 2026-11-22 (newest 7085397975) and
README.mdat3b9bb1a:--after 7083199356, the last report that #657 covers, lists the 6 newer reports: RTX 3050 Laptop GPU, RTX 3070, RTX 2070 SUPER, RX 9060 XT and two RX 7800 XT runs. Each matches its existing row.Negative controls: I broke the helper in eight ways, one at a time, and the check failed each time: a field pattern that differs from the runner's, quoted lines read as a report, a lane-range threshold of
<= 64, linked reports listed, no trailing-Graphicsrule for adapter names, no de-duplication of a report pasted twice, no splitting of a comment with a hardware and a WARP report, and UTF-8-only input.check_links()fromtests/docs_links_check.pyfinds 13 links, 0 broken, in the three edited Markdown files.findings()fromtests/bidi_controls_check.pyreturns[]for all six files,git diff --checkreports nothing, and the workflow still loads as YAML.main.git merge-fileof each edited file with itsmainversion at3b9bb1amerges without conflicts, and each result is that version plus this change.docs/non-windows-hosts.mdalso merges cleanly with #696.Checklist
AI-assisted.