Skip to content

Replace Centrifugo with Supabase Broadcast#554

Merged
valentin0h merged 8 commits intodevfrom
supabase-broadcast
Mar 23, 2026
Merged

Replace Centrifugo with Supabase Broadcast#554
valentin0h merged 8 commits intodevfrom
supabase-broadcast

Conversation

@valentin0h
Copy link
Copy Markdown
Collaborator

@valentin0h valentin0h commented Feb 6, 2026

This PR moves query invalidation from Centrifugo to Supabase Broadcast so we can remove the extra infra and keep the invalidation path inside our existing Supabase stack.

It replaces the publish/subscribe plumbing, updates local/test/e2e Supabase setup, and removes the remaining Centrifugo references needed for this migration.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Feb 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
app Ready Ready Preview Mar 23, 2026 3:15pm

Request Review

Delete dead code: centrifugo token generator, tRPC getToken router,
Docker startup script, and env config. Clean env vars from CI workflow
and example files. Remove unused deps (jsonwebtoken, ws, dotenv).
Align Supabase dependencies and CLI usage across the workspace so local, test, and e2e environments run the same tooling. Enable realtime for e2e while disabling unused Studio and Inbucket services to keep the new invalidation path covered without extra overhead.
@valentin0h valentin0h changed the title Experimental: replace centrifugo with Supabase broadcast Replace Centrifugo with Supabase Broadcast Mar 21, 2026
@valentin0h valentin0h marked this pull request as ready for review March 21, 2026 11:28
Copy link
Copy Markdown
Collaborator

@scazan scazan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great to switch over.

Comment thread services/realtime/src/client/manager.ts Outdated
@valentin0h valentin0h merged commit de77ed1 into dev Mar 23, 2026
13 checks passed
@valentin0h valentin0h deleted the supabase-broadcast branch March 23, 2026 15:22
@valentin0h valentin0h mentioned this pull request Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants