Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(supabase): fix supabase-realtime #855

Merged
merged 47 commits into from
Aug 21, 2024
Merged

Conversation

CollectiveUnicorn
Copy link
Contributor

@CollectiveUnicorn CollectiveUnicorn commented Jul 30, 2024

These changes makes supabase-realtime functional both on the admin dashboard and for external connections:

  • Adds missing mandatory environment variables
  • Adds route for supabase realtime's API in addition to the one that exists for websocket connections
  • Runs built in supabase realtime db seed command on pod startup to setup tenant
  • Updates all variables to use the name supabase-realtime as the db entries, routes, and envs all need to use the exact same name
  • Bumps the Supabase version to bring in the latest (significant) realtime refactor and pull in the newly functioning realtime migrations
  • Creates _realtime schema on realtime pod start to segment realtime tables from the rest of the db
  • Sets db wal_level to logical as supabase realtime uses the data produced by the WAL and requires a minimum wal_level of logical to get the data required for RLS to function

@CollectiveUnicorn CollectiveUnicorn self-assigned this Jul 30, 2024
Copy link

netlify bot commented Jul 30, 2024

Deploy Preview for leapfrogai-docs canceled.

Name Link
🔨 Latest commit b3a47b0
🔍 Latest deploy log https://app.netlify.com/sites/leapfrogai-docs/deploys/66c66de0e92f380008694328

@CollectiveUnicorn CollectiveUnicorn marked this pull request as ready for review August 8, 2024 23:31
@CollectiveUnicorn CollectiveUnicorn requested a review from a team as a code owner August 8, 2024 23:31
justinthelaw
justinthelaw previously approved these changes Aug 16, 2024
@justinthelaw
Copy link
Contributor

justinthelaw commented Aug 16, 2024

Recommend add tech debt issue for the migrations tracking!

@CollectiveUnicorn CollectiveUnicorn force-pushed the fix-supabase-realtime branch 2 times, most recently from d797d33 to ce97caf Compare August 21, 2024 22:40
@CollectiveUnicorn CollectiveUnicorn changed the title chore(supabase): Fix supabase-realtime chore(supabase): fix supabase-realtime Aug 21, 2024
@barronstone barronstone self-requested a review August 21, 2024 23:34
Copy link
Collaborator

@barronstone barronstone left a comment

Choose a reason for hiding this comment

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

In Gato We Trust.

@CollectiveUnicorn CollectiveUnicorn merged commit b1ee076 into main Aug 21, 2024
22 checks passed
@CollectiveUnicorn CollectiveUnicorn deleted the fix-supabase-realtime branch August 21, 2024 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants