Skip to content

Hold only the playground's choice in its drafts journey, so an edit its pause records can't stall the test - #7333

Merged
max-sixty merged 1 commit into
mainfrom
choice-walk-fixes
Nov 27, 2026
Merged

max-sixty merged 1 commit into
mainfrom
choice-walk-fixes

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

The playground drafts journey held every api/event POST to catch "Use these settings". When the playground's one-second pause recorded the field edit after the route armed but before expect_request listened, the route held that edit instead, so the choice queued behind it and the test timed out after 120 s. This made the test fail about 2 runs in 30 under load, on main as on #7325. The test now holds only the choice and lets the edit through, which is what its holding(…, "the query configuration") says it holds. That also closes a second race, where the released choice could reach the route again before unroute.

Found while checking whether #7325 caused the flake. Forcing the pause into that window failed the old test on main and on #7325 alike, and the new test passes with the pause forced before the route, after it, or not at all. Run here by node id.

This was written by Claude Code on behalf of max-sixty

…an't take the route and stall the choice for 120 s
@max-sixty
max-sixty merged commit 7901bb4 into main Nov 27, 2026
6 checks passed
@max-sixty
max-sixty deleted the choice-walk-fixes branch November 27, 2026 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants