tooling: flag repeated test sections in GPU report intake #1208
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1215"
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-24T03:37:50Z.
Problem
The offline hardware-report intake uses a test's canonical name as a key. Pasting a repeat of a test under the same report heading silently overwrote its first status and metrics, so the helper could suggest a misleading README cell. A heading for the other backend does not distinguish two runs unless that run has its own report heading.
Change
Route an ambiguous report segment to manual review. Keep separate, unambiguous reports pasted in the same comment and preserve existing handling of other incomplete segments. This change does not publish or edit any report.
Verification
python -B tests/hardware_reports_check.py— 12 tests passed on cloud Linux, including repeats with conflicting and matching verdicts, and a mixed-backend repeat.python -B tests/gpu_report_format_check.py— 10 passed.git diff --check— passed.AI-assisted (ChatGPT/Codex). Synthetic report inputs only; no Windows, physical GPU, or game data used.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T03:51:26Z.
Review: COMMENTED
Technical review on Linux at commit
6a4d18ed(Windows build/tests were not executed locally).Findings
No functional issues found:
tools/hardware_reports.py:parse_segmentnow rejects repeated canonical test section keys (name in results) withduplicate test section: <name>_<backend>, andparse_commentsurfaces thatduplicatereason even when another separate report segment in the same comment is usable.tests/hardware_reports_check.py:test_duplicate_test_section_goes_to_manual_reviewcovers conflicting/matching hardware repeats and mixed-backend repeats without a separate report header while preserving valid separate WARP reports.Checks run (Linux,
6a4d18ed)/root/.local/share/x2w-rev-venv/bin/python -B tests/hardware_reports_check.py:Ran 12 tests in 0.036s—OK(0 skipped, 0 failed)./root/.local/share/x2w-rev-venv/bin/python -B tests/gpu_report_format_check.py:Ran 10 tests in 0.003s—OK(0 skipped, 0 failed)./root/.local/share/x2w-rev-venv/bin/python -B tests/docs_links_check.py: passed (16Markdown files,272links)./root/.local/share/x2w-rev-venv/bin/python -B tests/bidi_controls_check.py: passed (1008tracked files).git diff --check HEAD~1..HEAD: passed.Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T03:37:56Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
6a4d18eℹ️ 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.