Switchbordswitchbord
v0.15.17

Inbox realtime pipeline consolidation

Eliminates message-disappearance race conditions and simplifies the realtime transport to a single broadcast path with Dexie cache enabled by default.

This release consolidates the inbox realtime pipeline from five concurrent data paths down to two.


  • Guards mergeConversations against preview-only message regression — a hydrated thread can never be collapsed to fewer messages by a stale aggregate refresh.
  • Targeted broadcast refreshes now fetch envelope-only so the HTTP response never races against broadcast-applied message content.
  • Removes the postgres_changes WAL subscription — broadcast is now the sole realtime transport, halving event processing per inbound message.
  • Unifies cache flags into a single NEXT_PUBLIC_INBOX_REALTIME_MODE env var (broadcast | cache | full), defaulting to cache (Dexie ON for all operators).