Skip to content

🔄 Sync with upstream changes - #17

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

🔄 Sync with upstream changes#17
h0lybyte wants to merge 638 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

leandrocp and others added 30 commits May 18, 2026 14:03
* chore: action hardening

Removes interpolation and uses env instead. General hardening and best practice. Not reachable by untrusted code (forks/PRs)

* chore: more hard
We had the replay test failing more often than expected due to racing conditions between our tests and the inserts in the database which lead to a higher failure rate.

This also reduces the log noise to be more single line focused instead of tables and more noise that it's not useful for the e2e usecase
…base#1864)

This new endpoint sends a single broadcast with a JSON or binary payload

The content-type declares what kind of payload is being sent
* chore: reduce e2e flakiness

* chore: update nix node_modules hash

---------

Co-authored-by: supabase-autofix-bot <noreply@supabase.com>
semantic-release-bot and others added 30 commits July 22, 2026 22:10
     group g routes to:              R  ───────►  T
view {R,S}      view {R,S,T}       (old router)  (new router,
                                                  the node that just joined)
                                                     the node that just joined)

It fix a race where node S learns about the new node T before node R does:

┌──────┬─────────────────────────────────┬────────────────────────────────────┬──────────────────────────────────────┐
│ time │   node S (has a member of g)    │  node R (thinks it's g's router)   │     a broadcast to g right now…      │
├──────┼─────────────────────────────────┼────────────────────────────────────┼──────────────────────────────────────┤
│ t0   │ cluster is {R,S}, agrees with R │ :ready, is g's router, table empty │ (nobody holds g yet)                 │
├──────┼─────────────────────────────────┼────────────────────────────────────┼──────────────────────────────────────┤
│ t1   │ discovers T → view {R,S,T}      │ still on {R,S} (lagging)           │ —                                    │
├──────┼─────────────────────────────────┼────────────────────────────────────┼──────────────────────────────────────┤
│ t2   │ joins g → routes to T           │ still thinks it's g's router       │ —                                    │
├──────┼─────────────────────────────────┼────────────────────────────────────┼──────────────────────────────────────┤
│ t3   │ —                               │ still :ready, table still empty    │ routed to R → delivered to nobody ❌ │
└──────┴─────────────────────────────────┴────────────────────────────────────┴──────────────────────────────────────┘

The fix (two-phase view adoption): a node may not start routing joins under
a grown view until it has told its old view's members it is leaving — and they
have acked.
Collect how often we have "hits" when broadcasting. 
Notice that we are not tracking if the topic is populated just if there are potential targets/websockets.
* fix: migration realtime.uuid not null

Ref REAL-924

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* chore: update @supabase/supabase-js to v2.110.9

* 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 pgdelta

supabase/pg-toolbelt@@supabase/pg-delta@1.0.0-alpha.30...@supabase/pg-delta@1.0.0-alpha.33

* chore: update tenant db catalog and dumps


---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Also remove prod_linter as it's not being used
* chore: update @supabase/supabase-js to v2.111.0

* 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>
On a hot-path it's important to not re-query the DB
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