docs: update SSE stream docs and retire websocket flow page#1589
Merged
tyler-dane merged 3 commits intomainfrom Mar 30, 2026
Merged
docs: update SSE stream docs and retire websocket flow page#1589tyler-dane merged 3 commits intomainfrom
tyler-dane merged 3 commits intomainfrom
Conversation
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Docs updated
docs/backend/api-documentation.mdEvents Stream Routessection forGET /api/events/streamtext/event-stream, keepalive comments), stream-connect metadata replay, and event classes delivered over SSE/api/events/streamto key endpoint listdocs/development/troubleshoot.mdSSE Stream Not Connected Or Not Receiving Eventstriage steps with concrete checks and failure-path guidancedocs/features/google-sync-and-websocket-flow.mdgoogle-sync-and-sse-flow.mdand current SSE source anchorsCodepaths covered
packages/backend/src/events/events.routes.config.tspackages/backend/src/events/controllers/events.controller.tspackages/backend/src/servers/sse/sse.server.tspackages/core/src/constants/sse.constants.tspackages/core/src/types/sse.types.tspackages/web/src/sse/provider/SSEProvider.tsxKnowledge gaps addressed
/api/events/streamwere missing from API docsNote
Low Risk
Low risk: documentation-only changes that don’t affect runtime behavior. Main risk is minor confusion if the documented SSE contract drifts from implementation.
Overview
Documents the backend SSE realtime stream contract by adding an
Events Stream Routessection forGET /api/events/stream(auth requirements,text/event-streambehavior, keepalives, per-user fan-out, and initialUSER_METADATApublish) and listing it in Key Endpoints.Adds an SSE troubleshooting runbook covering how to verify the stream stays connected and how to triage missing events (auth, route registration, base URL/cookie origin, user-id fan-out, and proxy buffering).
Retires the long websocket deep-dive doc by replacing
google-sync-and-websocket-flow.mdwith a short legacy pointer that links to the canonical SSE flow documentation and current source anchors.Written by Cursor Bugbot for commit e515096. This will update automatically on new commits. Configure here.