Skip to content

Conversation

@edgurgel
Copy link
Member

What kind of change does this PR introduce?

It will not retry for:

  • Table that does not exist
  • Realtime publication does not exist
  • Column does not exist

And any other unrecoverable* errors when inserting subscriptions. I think it's fair to expect people to reconnect if they changed a table or add a new table.

What is the current behavior?

We keep retrying ad-infinitum

What is the new behavior?

We only retry for temporary errors like RPC timeouts or database timeouts

Additional context

Add any other context or screenshots.

@coveralls
Copy link

coveralls commented Oct 28, 2025

Coverage Status

coverage: 86.752% (+0.2%) from 86.542%
when pulling a248cf1 on fix/pg-changes-subscription-error-part-2
into 0423825 on main.

@edgurgel edgurgel force-pushed the fix/pg-changes-subscription-error-part-2 branch 2 times, most recently from e200edd to 38b0a47 Compare October 28, 2025 02:43
* Table that does not exist
* Realtime publication does not exist
* Column does not exist
@edgurgel edgurgel force-pushed the fix/pg-changes-subscription-error-part-2 branch from 38b0a47 to a248cf1 Compare October 28, 2025 03:04
@edgurgel edgurgel merged commit b80da2d into main Oct 28, 2025
6 of 7 checks passed
@edgurgel edgurgel deleted the fix/pg-changes-subscription-error-part-2 branch October 28, 2025 03:31
@kiwicopple
Copy link
Member

🎉 This PR is included in version 2.57.2 🎉

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.

5 participants