Scripts: compare D3D12.X observations against a baseline #561
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/566"
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 ivall/xcl. Originally posted by wileyGray on 2026-11-24T01:54:03Z.
Stacked on #557; only the top commit belongs here.
Add
--baselineand opt-in--fail-on-newto detect newly observed D3D12.X slot/IID identities. Counts, caller changes and disappearing observations do not imply compatibility changes. An invalid baseline retains current evidence and returns an error.What is in it
Tested
61abda9ce0f413db3d6adfa1540700f5b25c3032on mainb7aa9f3. Windows 11 Home build 26300; Intel i9-14900K; NVIDIA RTX 4080 SUPER driver 32.0.16.2114; Rust 1.93.0, DXC 1.9.2609.5, Python 3.13.9; debug build.python -B -m unittest discover -s scripts -p test_triage_d3d12.py -v: 24 passed, 0 failed/skipped.scripts/test.ps1(build + standard four-thread suite): 770 passed, 0 failed, 41 ignored; synthetic console-title e2e passed.git diff --check: clean.Regression run
Not tested
comparison.completemeans no recognized parser warnings, not a final report or complete execution coverage.AI use
upstream-sync referenced this pull request2026-11-24 13:02:47 +00:00
upstream-sync referenced this pull request2026-11-24 21:29:08 +00:00
Imported from ivall/xcl. Originally posted by chaseb64 on 2026-11-25T05:26:15Z.
I found two ways malformed input can get a clean
--fail-on-newresult at61abda9. A duplicate key can hide an IID, and an unused bareNaN,Infinityor-Infinityis accepted as JSON.Save this as
baseline.json:Save each of these as
current.jsonin turn:Run
python3 scripts/triage_d3d12.py current.json --baseline baseline.json --fail-on-new --jsonfor each file. Both runs exit 0 and reportcomparison.complete: true. The invalid number also reproduces with the files swapped.I can share the two locally prepared and tested patches. They return exit 2 for malformed input while retaining usable current findings or falling back to the supplied log. All 26 triage tests passed on macOS arm64 and Python 3.9.6. With the #557 correction also applied, all 43 discovered Python tests passed, including 27 triage tests.
AI-assisted using OpenAI Codex (GPT-6.2 Sol and GPT-6.2 Astra for implementation, independent review and verification, and GPT-6 Luna for prior combined validation).
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T13:18:37Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
Imported from ivall/xcl. Originally posted by RavenCurseBurg on 2026-11-25T17:06:04Z.
Windows CLI check on
61abda9ce0f413db3d6adfa1540700f5b25c3032.python -B -m unittest discover -s scripts -p test_triage_d3d12.pypassed all 24 tests.I also ran nine independent comparisons with
python -I scripts/triage_d3d12.py current.json --baseline baseline.json --fail-on-new --jsonand temporary UTF-8 BOM inputs.complete: falseand a diagnostic, while preserving the new slot in the JSON.The input hashes stayed unchanged on every invocation. Windows 11 26100.9711, i7-13700, RTX 4060, Python 3.14.3. Synthetic observations only; no title, GPU workload, or Rust suite. OpenAI Codex (GPT-6) ran the checks and prepared this report.
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T07:44:00Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T03:43:46Z.
Triage (#1607) – head
61abda9Stacked on #557: only the top commit (
--baseline/--fail-on-new) belongs here, so the shared lines with #557 are not a duplicate.It inherits #557's
SLOTregex gap: main's D3D12.X stub namesID3D12PipelineState(console)::#i,ID3D12GraphicsCommandList(console)::#iand(stand-in)do not match and add a warning. Here that matters more:compareraises on any baseline with a warning, so--baselinefails (exit 2) for every report that contains a console-list stub.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.