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

fix: Add test coverage to repo; delete cdc stream; improve ReplicationConnection lifecycle #1261

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

filipecabaco
Copy link
Contributor

@filipecabaco filipecabaco commented Jan 9, 2025

What kind of change does this PR introduce?

  • Attempt to send coverage to coveralls
  • Removes CDC Stream code
  • Fix small compilation error with Gettext deprecation warnings
  • Renamed Realtime.Tenants.BroadcastChanges.Handler to Realtime.Tenants.ReplicationConnection
  • Reverses PID monitoring so Realtime.Tenants.ReplicationConnection and Realtime.Tenants.Listen are the ones tracking Realtime.Connect and die accordingly, reducing probability of process linking issues
  • Fixed Realtime.Tenants.Connect.shutdown/1 that was killing the Postgrex connection instead of killing Realtime.Tenants.Connect potentially leading to issues in the state of the connection

Copy link

vercel bot commented Jan 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
realtime-demo ⬜️ Ignored (Inspect) Visit Preview Jan 14, 2025 11:46am

@filipecabaco filipecabaco force-pushed the fix/add-coverage branch 4 times, most recently from 300a5c6 to b3e202e Compare January 14, 2025 10:51
@filipecabaco filipecabaco changed the title fix: Add test coverage to repo; delete cdc stream fix: Add test coverage to repo; delete cdc stream; improve ReplicationConnection lifecycle Jan 14, 2025
@filipecabaco filipecabaco force-pushed the fix/add-coverage branch 7 times, most recently from baf9915 to 5294790 Compare January 14, 2025 11:44
* Attempt to send coverage to coveralls - https://coveralls.io/github/supabase/realtime
* Removes CDC Stream code
* Fix small compilation error with Gettext deprecation warnings
* Renamed Realtime.Tenants.BroadcastChanges.Handler to Realtime.Tenants.ReplicationConnection
* Reverses PID monitoring so Realtime.Tenants.ReplicationConnection and Realtime.Tenants.Listen are the ones tracking Realtime.Connect and die accordingly, reducing probability of process linking issues
* Fixed Realtime.Tenants.Connect.shutdown/1 that was killing the Postgrex connection instead of killing Realtime.Tenants.Connect potentially leading to issues in the state of the connection
Copy link
Contributor

@chasers chasers left a comment

Choose a reason for hiding this comment

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

LGTM

@filipecabaco
Copy link
Contributor Author

🚀

@filipecabaco filipecabaco merged commit 516ed01 into main Jan 14, 2025
5 checks passed
@filipecabaco filipecabaco deleted the fix/add-coverage branch January 14, 2025 17:25
@kiwicopple
Copy link
Member

🎉 This PR is included in version 2.33.81 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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