Repository navigation
gpu: keep queue ordering tests independent of wait deadlines - #40
Conversation
Independent review and maintainer verification record for exact head
Residual limitation: cleanup after assertion panic has not been made panic-safe. Independent agent review is recorded here transparently; it is not a separate person's GitHub approval. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour 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. |
|
Final review of The five added lines use the existing test-only indefinite-wait flag on three newly created queues. Production deadlines and original assertions remain unchanged; the dedicated 50 ms timeout regression remains active. Independent source review and a separate Standards audit found no blocker. Fresh fork validation: the normal-threaded, six-stage local WARP PR check passed, with 1,671 tests passed and 69 ignored. Current-head fork CI is now green, including workspace tests, both Clippy configurations and strict GPU debug-layer checks: https://github.com/fogydes/XTP/actions/runs/45768621483 . Historical deterministic negative controls reproduced both old assertion failures and passed with the patch; the original intermittent baseline is retained as a failed run. Residual limitation: assertion-panic cleanup remains unchanged. These are AI-assisted independent reviews and test evidence, not a claim of another person's GitHub approval. Manual merge will preserve the original commit. |
Summary
Imported MiamiGame/XTP#82 for review in this fork. Original author: fogydes; opened 2026-11-26T04:37:50Z. Original commit authorship and history are preserved. Migration prepared with AI assistance (Codex); no source changes were made.
Evidence
c03c77a1b76573ba1d68041bf29bb4ebecd6a17f.main; source PR contains its historical CI.Part of #28 (imported from MiamiGame#54).
Merge Danger
Door: Two-way (this is an unmerged PR).
Blast Radius: Unchanged from the original diff; no new correctness claim is made by importing it.
Original pull request
What and why
Two queue-ordering tests assert that work stays held until another queue or a present releases it. The production four-second stuck-wait fallback can expire first on a busy machine and invalidate those assertions. Set the existing test-only
wait_indefinitelyflag on the three fresh queues involved.This is five added lines in two tests. Their assertions and release paths are unchanged. Production deadlines and the dedicated isolated 50 ms fallback regression are unchanged.
Fixes: none; part of #54
Depends on: none
Area
xtp-gpu,crates/xtp-gpu/src/queue.rstests only.Tests
cargo xtask pr-checkpasses on my machineWARP,
CARGO_BUILD_JOBS=4, shared target:cargo test --locked -p xtp-gpu --lib: 633 passed, 14 ignored.XTP_TEST_ADAPTER=warp,XTP_D3D12_DEBUG=1,XTP_REQUIRE_GPU=1; serial libtest scheduling was scoped to this run.STUCK: both original tests failed at their held-state assertions; the patched tests passed. That temporary instrumentation is removed.The initial merged-main suite failed these two tests; ten isolated runs each and three full reruns then passed before this patch. Those successes did not erase the failure. The aging controls establish deadline exposure, but do not prove the exact scheduling delay in the original run. Panic-safe cleanup after failed assertions is not added here.
Provenance
AI assistance: Codex and regular subagents diagnosed the test deadline interaction, prepared the five-line change and negative controls, reviewed the source and ran the checks. No external implementation was copied.
Checklist
<area>: <summary>; one topic; under 400 changed lines, or the reason is aboveFork issue / PR number map.