tests/ui/chat/sendModeDropdown.test.ts › "send after step waits for every tool call emitted in the current step" failed in CI with "Expected the source turn to be streaming before queueing".
Likely cause (not proven): the waitFor for canInterrupt at sendModeDropdown.test.ts:207 sets no timeout, so it uses the testing-library default of 1000 ms. A sibling test waits for the same condition with { timeout: 30_000 } (around line 240). On a loaded runner the stream can take more than 1 s to start.
Fix idea: give that wait an explicit load-tolerant timeout, as the sibling test does.
The PR #5801 readiness check found that its changes cannot reach this path: the failing wait runs before any composer edit code, and the only send before it is a normal send.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $33.65
tests/ui/chat/sendModeDropdown.test.ts› "send after step waits for every tool call emitted in the current step" failed in CI with "Expected the source turn to be streaming before queueing".PRworkflow runs found the message only in that job.Likely cause (not proven): the
waitForforcanInterruptatsendModeDropdown.test.ts:207sets no timeout, so it uses the testing-library default of 1000 ms. A sibling test waits for the same condition with{ timeout: 30_000 }(around line 240). On a loaded runner the stream can take more than 1 s to start.Fix idea: give that wait an explicit load-tolerant timeout, as the sibling test does.
The PR #5801 readiness check found that its changes cannot reach this path: the failing wait runs before any composer edit code, and the only send before it is a normal send.
Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:high• Cost:$33.65