Send an SSE retry interval and replay after overflow #57

Merged
weichen merged 1 commits from feature/runstate-shell into main 2026-10-03 16:41:40 +00:00
Owner

Why: A dropped subscription had no retry hint, and a reconnect had no test that the gap is filled.

Evidence: The stream starts with retry: 1000. Last-Event-ID after overflow replays the missed events.

Impact: EventSource waits one second before reconnecting.

Refs: feature/runstate-shell

Why: A dropped subscription had no retry hint, and a reconnect had no test that the gap is filled. Evidence: The stream starts with retry: 1000. Last-Event-ID after overflow replays the missed events. Impact: EventSource waits one second before reconnecting. Refs: feature/runstate-shell
weichen added 1 commit 2026-10-03 16:41:17 +00:00
Send an SSE retry interval and replay after overflow
ci / vet-and-test (pull_request) Successful in 40s
7bef7a4f94
Why: A dropped subscription had no retry hint, and a reconnect had no test that the gap is filled from the cursor.
Evidence: The stream starts with retry: 1000. A live publish is delivered, and Last-Event-ID after an overflow replay skips events the client already has.
Impact: EventSource waits one second before reconnecting. Persisted events are unchanged.
Refs: feature/runstate-shell
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit 8f946e3094 into main 2026-10-03 16:41:40 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Backend#57