Skip to content

Comments

fix(web): reload events on SSE reconnect to fill disconnect gap#47

Merged
waterbang merged 1 commit intoChesterRa:mainfrom
howold-lab:fix/sse-reconnect-reload
Feb 22, 2026
Merged

fix(web): reload events on SSE reconnect to fill disconnect gap#47
waterbang merged 1 commit intoChesterRa:mainfrom
howold-lab:fix/sse-reconnect-reload

Conversation

@howold-lab
Copy link
Contributor

When SSE disconnects and reconnects, the backend stream seeks to EOF, causing events written during the disconnect window to be missed in the UI. Add a hasConnectedOnceRef to distinguish first connect from reconnect, and call loadGroup on reconnect to compensate for missed events.

When SSE disconnects and reconnects, the backend stream seeks to EOF,
causing events written during the disconnect window to be missed in the
UI. Add a hasConnectedOnceRef to distinguish first connect from reconnect,
and call loadGroup on reconnect to compensate for missed events.
@waterbang waterbang merged commit 9dc3e16 into ChesterRa:main Feb 22, 2026
1 check passed
@waterbang
Copy link
Collaborator

thank you for your contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants