Repository navigation
Hold only the playground's choice in its drafts journey, so an edit its pause records can't stall the test - #7333
Merged
Merged
Conversation
…an't take the route and stall the choice for 120 s
leaf-agent
approved these changes
Nov 27, 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.
The playground drafts journey held every
api/eventPOST to catch "Use these settings". When the playground's one-second pause recorded the field edit after the route armed but beforeexpect_requestlistened, 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 itsholding(…, "the query configuration")says it holds. That also closes a second race, where the released choice could reach the route again beforeunroute.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.