Repository navigation
Conversation
Collaborator
Author
|
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. |
This was referenced Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 above