fix(elixir-client): Sync CDN-resilience fixes from the TypeScript client#4231
Merged
magnetised merged 3 commits intomainfrom Apr 29, 2026
Merged
fix(elixir-client): Sync CDN-resilience fixes from the TypeScript client#4231magnetised merged 3 commits intomainfrom
magnetised merged 3 commits intomainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4231 +/- ##
==========================================
+ Coverage 64.31% 65.26% +0.94%
==========================================
Files 143 170 +27
Lines 19092 20232 +1140
Branches 4679 4713 +34
==========================================
+ Hits 12279 13204 +925
- Misses 6810 7025 +215
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
3d10c72 to
d34dd37
Compare
Contributor
|
This PR has been released! 🚀 The following packages include changes from this PR:
Thanks for contributing to Electric! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The TS client has three behaviours around 409 (must-refetch) handling that the Elixir client was missing. All three protect against misbehaving proxies/CDNs that strip query params, cache 409s, or omit response bodies.
Changes
CDN cache slot. (expired_shapes_cache.ex clear_handle/1, poll.ex handle_stale_response/2, shape_state.ex self_heal_attempted? flag)