managarten/services
Till JS fed38efb8b fix(sync): fix SSE live updates — 2 bugs found during E2E testing
Bug 1: NotifyUser() early-returned when no WebSocket clients existed,
skipping SSE subscriber notifications entirely. Fixed by restructuring
to check WS clients and SSE subscribers independently.

Bug 2: SSE stream cursor defaulted to client's `since` parameter when
no initial data existed. If `since` was in the future (or very recent),
live updates had created_at < cursor and were silently filtered out.
Fixed by defaulting cursor to now() when no initial data is returned.

Bug 3: NotifyUser used original sseSubs slice instead of sseSubsCopy
after releasing the read lock (race condition).

Verified E2E: Push from client A → SSE stream on client B receives
live change event with correct data within ~1 second.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 23:39:46 +02:00
..
mana-analytics refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
mana-api-gateway refactor(shared-go): extract shared auth package from 3 Go services 2026-04-02 13:27:44 +02:00
mana-auth refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
mana-crawler fix(docker): add shared-go COPY to all Go service Dockerfiles 2026-03-28 16:34:40 +01:00
mana-credits refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
mana-image-gen fix: resolve port conflict (mana-image-gen 3025→3026) and replace APP_URLS with internal routes 2026-04-02 12:56:37 +02:00
mana-landing-builder fix(landing-builder): rework Dockerfile to copy workspace directly 2026-03-23 13:50:22 +01:00
mana-llm feat(mana-llm): add Google Gemini fallback provider with auto-routing 2026-03-23 22:44:09 +01:00
mana-matrix-bot refactor: rename ManaDeck to Cards across entire monorepo 2026-04-01 11:45:21 +02:00
mana-media refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
mana-notify refactor(shared-go): extract shared auth package from 3 Go services 2026-04-02 13:27:44 +02:00
mana-search fix(docker): add shared-go COPY to all Go service Dockerfiles 2026-03-28 16:34:40 +01:00
mana-stt refactor(shared-python): extract shared auth package from mana-stt and mana-tts 2026-04-02 14:09:32 +02:00
mana-subscriptions refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
mana-sync fix(sync): fix SSE live updates — 2 bugs found during E2E testing 2026-04-02 23:39:46 +02:00
mana-tts refactor(shared-python): extract shared auth package from mana-stt and mana-tts 2026-04-02 14:09:32 +02:00
mana-user refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
mana-video-gen feat(mana-video-gen): add AI video generation service with LTX-Video 2026-04-02 01:17:47 +02:00
mana-voice-bot feat(mana-voice-bot): add German voice-to-voice assistant service 2026-02-01 02:21:13 +01:00