You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TypeScript SDK job failed on master (run 42354044305, head f59329a) with:
not ok 19 - globalEvents fails loudly when its bounded event queue overflows
error: 'Missing expected rejection.' (ERR_ASSERTION)
at sdk/typescript/test/client.test.ts:555
enqueue() in sdk/typescript/src/client.ts only buffers an event when no consumer is awaiting; if a waiter is pending the frame is handed straight to it and the buffer is skipped. So overflow needs two frames to arrive while nobody is calling next().
The test sent exactly two frames on a 10ms timer and then asserted after a fixed 30ms settle window. On a loaded runner the frames can miss that window, the queue never reaches its bound of 1, and next() resolves with the first buffered event instead of rejecting.
This is a timing assumption in the test, not a defect in the client.
Activity