Skip to content

🔄 Sync with upstream changes#17

Open
h0lybyte wants to merge 598 commits into
mainfrom
upstream-main
Open

🔄 Sync with upstream changes#17
h0lybyte wants to merge 598 commits into
mainfrom
upstream-main

Conversation

@h0lybyte

Copy link
Copy Markdown
Member

Upstream Sync

This PR contains the latest changes from the upstream repository.

Changes included:

  • Synced from upstream/main
  • Auto-generated by upstream sync workflow

Review checklist:

  • Review the changes for any breaking changes
  • Check for conflicts with local modifications
  • Verify tests pass (if applicable)

This PR was automatically created by the upstream sync workflow

filipecabaco and others added 30 commits May 5, 2026 00:18
---------

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
edgurgel and others added 30 commits July 14, 2026 15:52
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants