Scripts: triage unknown D3D12.X slots and interfaces #557
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!557
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@wileyGray on GitHub · 2026-11-24 01:45 UTC · original
wileyGray:codex/d3d12-triage→main· +392 −0 · 5 files · 1 commits · openUnknown 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
@chaseb64 on GitHub · 2026-11-25 05:26 UTC · original
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).
@DavidM1911 on GitHub · 2026-11-25 13:30 UTC · original
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!
@RavenCurseBurg on GitHub · 2026-11-25 19:05 UTC · original · edited 2026-11-25 19:11 UTC
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.
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.