D3D12.X: skip orphaned queued builds in normal PSO workers #2178
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!2178
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2178/head"
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?
@O5-7 on GitHub · 2026-11-25 07:54 UTC · original
O5-7:pso/skip-orphaned-queued-builds→main· +72 −0 · 1 files · 1 commits · merged 2026-11-25 10:50 UTCFixes #972
What is in it
Tested
ustc 1.100.0 (0ef1bc386 2026-11-09), debug tests & release smoke run, DXC 1.8.2502.11 (D:\Windows Kits\10\bin\10.0.26100.0\x64).
Regression run
xcl-smoke v1 commit: cbc296ab65a2661a61e3e2da109134bcd5319f60 gpu: NVIDIA GeForce RTX 5080 title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1686 (PresentX 1686) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14083 MBxcl-smoke v1 commit: b4d748214857a9c784654f560207e94bfea73a2b gpu: NVIDIA GeForce RTX 5080 title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1685 (PresentX 1685) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14107 MBNot tested
AI use
@luckyteagirl on GitHub · 2026-11-25 09:45 UTC · original
Independent native Windows verification of exact PR head
b4d748214857a9c784654f560207e94bfea73a2b(parentcbc296ab65a2661a61e3e2da109134bcd5319f60). The final worktree is clean.Environment: Windows 11 build 26200; Ryzen 9 5980HX; Radeon RX 6800M driver
30.0.13002.13003; Rust 1.99.0 MSVC; DXC/DXIL 1.9.2609.5. These are CPU worker tests; the GPU did not execute a shader.PR head:
cargo test --locked -p xcl --lib -j 2 pso_async -- --test-threads=1 --show-outputpassed 7/0/0, no skips, includinga_released_queued_pipeline_is_not_built_by_normal_workers. I repeated the seven tests after restoring the clean head; they passed again 7/0/0.Test-only negative control: I removed only the new orphan check from the normal worker loop, retaining the new regression test. With its original dummy return value
0x9721, the queued job ran and the process aborted on a misaligned dummy COM pointer before the intended assertion. For a clean control, I additionally changed that test job's return value to0locally, leaving itsran_jobflag and assertion intact. The same focused regression then failed 0/1/0,released job reached the compiler. I restored both edits, rebuilt, and reran the passing PR-head tests. No control edit was committed.Scope: This demonstrates the queued-job behavior in the deterministic synthetic worker fixture. I did not run the full workspace suite, a cold title PSO compilation, or a retail smoke comparison on this PR.
AI use: OpenAI Codex (GPT-6; exact variant not exposed in this session) ran the native Windows tests and local control, restored the clean PR head, and drafted this report.
@raylitebull on GitHub · 2026-11-25 10:45 UTC · original
Code review on
b4d7482:p.orphan.load(Ordering::Acquire)inpso_async::queue's worker loop before takingp.jobcleanly avoids compiling stand-in PSOs whose title pipeline was already released while queued, with focused coverage ina_released_queued_pipeline_is_not_built_by_normal_workers.Remaining before merge:
Build and testfinishing green plus dual-vendor (AMD + NVIDIA) verification onb4d7482.