Files
DocsGPT/application/core
Alex ed9444cf3d feat: SSE notification system
Adds a per-user SSE pipe (GET /api/events) plus a per-message
chat-stream reconnect endpoint (GET /api/messages/<id>/events).

Backend substrate:
- application/events/ — durable journal (Redis Streams) + live
  pub/sub for user-scoped events, with publish_user_event() as
  the worker-side entrypoint.
- application/streaming/ — broadcast_channel for pub/sub fanout
  and event_replay for the per-message snapshot+tail path.
- application/storage/db/repositories/message_events.py +
  alembic 0007 — Postgres journal for chat-stream events.
- application/worker.py — ingest/reingest/remote/connector/
  attachment/mcp_oauth tasks publish queued/progress/completed/
  failed envelopes alongside their existing status updates.

Frontend client:
- frontend/src/events/ — connect/reconnect, Last-Event-ID cursor,
  backoff with jitter. Each tab runs its own connection; no
  cross-tab dedup (future work).
- frontend/src/notifications/ — recentEvents ring, cursor
  tracking, tool-approval toast.
- frontend/src/upload/uploadSlice.ts — extraReducers for
  source.ingest.* and attachment.* events.

Coverage: 132 SSE tests across events substrate, replay, journal,
routes, and worker publishes.
2026-05-12 14:29:45 +01:00
..
2026-04-26 00:58:29 +01:00
2023-04-29 15:40:55 +01:00
2026-04-12 00:07:24 +01:00
2026-02-22 11:10:42 +00:00
2026-04-28 00:14:43 +01:00
2026-04-28 00:14:43 +01:00
2026-04-27 22:09:33 +01:00
2026-04-27 22:09:33 +01:00
2026-04-27 22:09:33 +01:00
2026-04-27 22:09:33 +01:00
2026-05-12 14:29:45 +01:00
2025-12-24 17:05:35 +02:00