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
{{ message }}
Repository navigation
Event streams should request resync after every overflow #756
After an event stream's queue overflows, the server asks the client to resync. On a second overflow on the same connection, /event and /global/event drop events without sending another server.connected resync frame. The workspace can then stay stale until reload.
Steps to reproduce
Keep one event-stream connection open.
Overflow its bounded queue twice, allowing the client to consume the first resync frame between overflows.
Observe that only the first overflow is followed by server.connected.
The two focused regressions in test/server/event-stream.test.ts and test/server/global-event-stream.test.ts fail on current main (3b73f8d) and pass with the fix.
How did you install OpenScience?
From source (bun dev).
OpenScience version
Source commit 3b73f8d.
Provider and model
Not applicable; this is an event-stream server behavior.
Operating system
Not OS-specific; reproduced in the Bun test harness.
Activity