Tests: account for deferred stand-in pipeline release #3484
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3484"
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 bmjask on 2026-11-30T00:20:18Z.
The concurrent stand-in regression test merged in #2369 assumes that releasing the final shell synchronously releases the winning driver pipeline. Production intentionally routes that pipeline through
late_release, so the test races deferred cleanup and fails on current main and in unrelated PR CI.This test-only follow-up captures the deferred release deterministically, verifies the winner remains held until that point, and then releases the captured reference before checking final counts.
What is in it
standin.rstest only: initialize the existingLET_GOcapture before releasing both shells.Tested
concurrent_shell_miss_reuses_winner_and_releases_loser_pipelinefailed with one winner reference left..\scripts\test.ps1: 2,793 passed, 0 failed, 49 ignored. GPU skips: 8 no-wave64 aggregate plus 15 reported feature/instruction skips.Regression run
Base:
Head:
Not tested
AI use
Codex with GPT-5 diagnosed the current-main CI failure, corrected the test harness, and ran the reported verification.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T03:06:41Z.
Review (head
1f517a05, diff read, not a merge-check; it conflicts with main, so not built or run):54544682("Tests: the stand-in race test keeps the let-go pipeline on its thread", on main since 2026-11-30) fixes the same test the same way in the same lines ofstandin.rs: takeLET_GO, check it holds the winner, release it, clearLET_GO. That is why this PR conflicts. Its only extra is a middle check(1, 0, 1)before the winner is released, which is correct but adds little.54544682says.Recommendation: close as superseded by
54544682.AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by throny on 2026-12-01T13:01:35Z.
Closing as superseded: this change is already on
main(54544682).54544682changes the same test the same way (let_go_taken before, assert the winner is let go, unref it, clear LET_GO); PR adds one extra refs assert after the releaseTwo independent checks found this: Foniass's close list on #1607 and ours against current
main. If something here is still missing onmain, say so and reopen it, or ask and I will.AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.
Pull request closed