fix(FN-758): fix project-scoped real-time dashboard updates
- Add project-store-resolver to correctly scope SSE and WebSocket connections to the active project's TaskStore - Fix shared resolver so multi-project setups deliver task events only to the right dashboard clients - Add regression tests for project store resolver (routing, missing project, SSE integration) - Remove unused import and clean up stale changeset - Add changeset for published package patch bump
This commit is contained in:
5
.changeset/fix-project-realtime-dashboard-updates.md
Normal file
5
.changeset/fix-project-realtime-dashboard-updates.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@gsxdsm/fusion": patch
|
||||
---
|
||||
|
||||
Fix real-time dashboard updates for project-scoped views. Previously, project-scoped API routes and SSE subscriptions created separate TaskStore instances via `getOrCreateForProject()`, causing SSE listeners to attach to a different in-memory EventEmitter than the one handling mutations. A shared project-store resolver now caches and reuses TaskStore instances per project, ensuring live events reach SSE subscribers without manual refresh.
|
||||
Reference in New Issue
Block a user