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
test/experimental-remote-runtime.test.ts > experimental durable server composition > streams prompt events through the worker-owned service provider failed once in CI with an event-sequence assertion while the RPC socket event queue logged stall/overflow warnings. It passed on rerun, on main, and on the branch head — classified as a timing flake, filed for a root-cause fix per the flake policy (fix merged to base, not just reruns).
Actual
CI run 34799956108, job 103840461978 (PR #1673, merged head 01863bd):
Rerun of the failed job: green. Fail 1 / 3446 passed in the failing attempt.
Hypothesis
Timing-sensitive RPC socket event-queue liveness guard: the 50ms peer-drain window can abort/close the queue under CI contention, disturbing the event sequence the test asserts. Related families: credit-timeout quarantine, RPC worker stall retries.
Scope / acceptance
Reproduce under load or fault injection (slow reader), identify whether the queue-close path can drop/reorder events the test expects.
Durable fix (backpressure tolerance, drain-window sizing, or test-level event subscription before trigger) merged to main; no test skip, no widened assertion.
Summary
test/experimental-remote-runtime.test.ts > experimental durable server composition > streams prompt events through the worker-owned service providerfailed once in CI with an event-sequence assertion while the RPC socket event queue logged stall/overflow warnings. It passed on rerun, on main, and on the branch head — classified as a timing flake, filed for a root-cause fix per the flake policy (fix merged to base, not just reruns).Actual
CI run 34799956108, job 103840461978 (PR #1673, merged head 01863bd):
AssertionError: expected [ 'run_start', 'message_start', …(8) ] to deeply equal ArrayContaining{…}socket event queue stalled: peer did not drain 57 queued bytes within 50ms(twice) andsocket event queue overflow: 0 queued + 2166 incoming > 1024.Expected
The worker-owned provider event stream is deterministic under CI load; a slow peer drain does not reorder or drop the expected prompt events.
Classification evidence (three-step)
Hypothesis
Timing-sensitive RPC socket event-queue liveness guard: the 50ms peer-drain window can abort/close the queue under CI contention, disturbing the event sequence the test asserts. Related families: credit-timeout quarantine, RPC worker stall retries.
Scope / acceptance