🔄 Sync with upstream changes#17
Open
h0lybyte wants to merge 598 commits into
Open
Conversation
--------- Co-authored-by: Leandro Pereira <leandro@leandro.io>
* Fix socket disconnection to use `Phoenix.Socket` tools to disconnect ("disconnect" broadcast and special `:socket_drain`).
* Change delete operation to use disconnect and not suspend (as the Tenant will be removed anyway and it will disappear from the cache).
* Remove unused broadcast operations like `suspend_tenant` and `unsuspend_tenant`
* Account for race conditions where a socket can start right after a global disconnect was issued. RealtimeChannel now disconnects the socket on "Tenant not found"
--------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update @supabase/supabase-js to v2.105.4 * chore: update nix node_modules hash --------- Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Avoid Enum.zip * Use :ets.lookup_element instead of lookup
* feat: add support to % feature flags It supports a bucket_key so that one can control if different flags map the same tenants to the same buckets. aka: Tenant ABC belongs to 10% on feature flag X but not necessarily on flag Y If their bucket_key is the same then they will match on the same bucket of percentages.
`Escape dollar signs in channel names in Postgrex.Notifications.listen/3 (CVE-2026-58225)` We only have libcluster_postgres using Postgres notifications so this doesn't impact us. https://osv.dev/vulnerability/EEF-CVE-2026-58225
* chore: update @supabase/supabase-js to v2.110.5 * chore: update nix node_modules hash --------- Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com> Co-authored-by: supabase-autofix-bot <noreply@supabase.com>
* fix: bump mint EEF-CVE-2026-59246 (MEDIUM) aka: CVE-2026-59246, GHSA-8pf6-g464-h6h9 Zero-length HTTP/2 CONTINUATION frames bypass Mint's header-block byte-size cap and exhaust client memory https://osv.dev/vulnerability/EEF-CVE-2026-59246 EEF-CVE-2026-58229 (HIGH) aka: CVE-2026-58229, GHSA-qrfr-wh4c-3qhw Unbounded HTTP/1 response-header and chunked-trailer accumulation in Mint causes memory-exhaustion DoS https://osv.dev/vulnerability/EEF-CVE-2026-58229
`Forum.Muster` is there to provide a way for a single node (in Realtime's case per region) to be responsible to answer the question: "which nodes have at least one process belonging to a certain group". This enables Realtime to send messages to less nodes for each broadcast.
* chore: update @supabase/supabase-js to v2.110.6 * chore: update nix node_modules hash --------- Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com> Co-authored-by: supabase-autofix-bot <noreply@supabase.com>
* chore: update @supabase/supabase-js to v2.110.7 * chore: update nix node_modules hash --------- Co-authored-by: supabase-workflow-trigger[bot] <266661614+supabase-workflow-trigger[bot]@users.noreply.github.com> Co-authored-by: supabase-autofix-bot <noreply@supabase.com>
Also ignore cowlib advisories that do not impact us
To improve the capacity for a user to debug the issues they have with badly created tokens we will log in the error message the kid used for a given token
* feat: load tenant database dump Shortcut to load the entire Tenant DB schema at once instead of running migrations sequentially that adds overhead to tenant creatiion workflow. Applies only to new tenants. Ref REAL-861
assert on SYN noticing Connect is down so that Reconnector has the same agreed visibility
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.
Upstream Sync
This PR contains the latest changes from the upstream repository.
Changes included:
Review checklist:
This PR was automatically created by the upstream sync workflow