Scripts: triage unknown D3D12.X slots and interfaces #552
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/557"
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:45:31Z.
Unknown D3D12.X slots and IIDs are spread across reports and first-call logs. This adds an offline triage command that groups observations and recovers log evidence when the JSON report is unusable, without inferring crash causes or changing dispatch.
What is in it
Tested
0506c659935775e6fdce1210500c9a67c6cd482aon 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: 15 passed, 0 failed/skipped.scripts/test.ps1(workspace build + standard four-thread suite) at stack head61abda9ce0f413db3d6adfa1540700f5b25c3032: 770 passed, 0 failed, 41 ignored; synthetic console-title e2e passed. Its Rust runtime/tests are identical to this PR's.git diff --check: clean.Regression run
Not tested
AI use
mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #172upstream-sync referenced this pull request2026-11-24 19:06:45 +00:00
Imported from ivall/xcl. Originally posted by chaseb64 on 2026-11-25T05:26:13Z.
I ran the triage script on synthetic input at
0506c65. The runtime emitsID3D12PipelineState(console)::#NandID3D12GraphicsCommandList(console)::#N, but the parser warns and drops both names.To reproduce, save this as
report.json:Save this as
xcl.log:Run
python3 scripts/triage_d3d12.py report.json --log xcl.log --json. I get an unrecognized-name warning and an emptyslotsarray. Preserving(console)in the interface name keeps both observations distinct from unqualified slots. I can share the locally prepared patch and regression if helpful. All 16 triage tests passed with the patch on macOS arm64 and Python 3.9.6.AI-assisted using OpenAI Codex (GPT-6.2 Sol for implementation, reproduction and transfer verification, GPT-6.2 Astra for independent review, and GPT-6 Luna for prior combined validation).
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T13:30:24Z.
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-25T19:05:33Z.
Tested the offline CLI on
0506c659935775e6fdce1210500c9a67c6cd482awith Windows 11 build 26100.9711, i7-13700 and Python 3.14.3.I ran
python -B scripts/triage_d3d12.py report.json --log xcl.login text and--jsonmodes. The inputs had a UTF-8 BOM, mixed CRLF/LF, no final log newline, Unicode callers, both arrow spellings, and the same interface/slot number on two DLLs. I repeated the runs in reverse record order and with redirected output usingPYTHONIOENCODING=utf-8,cp1252andcp936.python -B -m unittest discover -s scripts -p test_triage_d3d12.pypassed all 15 tests.These cases used ordinary interface names, separately from the console-qualified names reported earlier. No real title, runtime or GPU run. OpenAI Codex (GPT-6) prepared the synthetic inputs and ran the checks.
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:39:23Z.
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:42:42Z.
Triage (#1607) – head
0506c65#566 is stacked on this PR (same author, its first commit is this one), so the shared lines are not a duplicate. Main has no
scripts/triage_d3d12.py.Problem in
scripts/triage_d3d12.py: theSLOTregex requiresI<Name>::#<n>, but main also names D3D12.X stubsID3D12PipelineState(console)::#i,ID3D12GraphicsCommandList(console)::#i(console_list.rs) andID3D12PipelineState(stand-in)::#i(standin.rs). Those never match, are dropped fromslots, and only add the warning "Unrecognized D3D12.X slot name", so any report with a console-list stub is reported as incomplete.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.