tooling: send conflicting GPU report backends to manual review #2183
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2191"
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 RavenCurseBurg on 2026-11-25T03:28:42Z.
Fixes #2188.
The offline report tool suggested the Microsoft WARP coverage row for a physical GPU when the pasted report said
Backend: warpabove_hardwaretest headings. It also generated coverage cells when different test headings named different backends in one run.The tool now sends each conflicting run to manual review with a reason. A separately headed, consistent run in the same comment still supplies coverage cells. A report with no backend header can still use the backend shared by its test headings.
Verification
Windows x64, Python 3.14.3, commit
35bfb8afon72c16092.python -B tests/hardware_reports_check.pypython -B tests/gpu_report_format_check.pypython -B tests/docs_links_check.pypython -B tests/bidi_controls_check.pygit diff origin/main...HEAD --checkEvidence
The regression uses the existing synthetic report generator. It covers both directions of a header mismatch, two different test backends under one heading, and reports with no backend header.
I also replayed the public #1 thread through both revisions. The export ended at comment
7151323354and contained 292 comments. The JSON summaries were byte-identical across all 235 recognized reports.AI-assisted with Codex (GPT-6.2 Astra xhigh, as specified by the contributor).
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T03:31:12Z.
Review: COMMENTED
Review of head
35bfb8af10(tools/hardware_reports.py, tests/hardware_reports_check.py).Result: 0 P1, 0 P2. Logic is sound and clean-room (pure text parsing of the in-repo report layout).
What I checked
Backend:line disagrees with its test-section suffixes, or whose sections mix_hardwareand_warp, now goes to manual review instead of being recorded. A missingBackend:line is filled from the section suffix.Commands run locally
python3 -I tests/hardware_reports_check.py-> Ran 16 tests, OKpython3 tests/docs_links_check.py-> 18 files, 404 links, OKpython3 tests/bidi_controls_check.py-> OKgit diff --check origin/main...HEAD-> cleangit checkout -- .), all caught by the new tests:Backend:label comparison -> 2 failuresparse_comment-> 3 failuresOpen item: GitHub CI
Windows checksfor this SHA isaction_required(fork run not yet approved), so there is no CI result yet. The change touches only .py files.AI-assisted; commands listed were executed locally.