fix(cli): pass RIVET_ENDPOINT to supabase edge functions in dev#5483
Merged
Conversation
railway-app
Bot
temporarily deployed
to
rivet-frontend / rivet-pr-5483
July 24, 2026 22:01
Destroyed
Contributor
|
Review: fix(cli): pass RIVET_ENDPOINT to supabase edge functions in dev Re-reviewed against the latest revision ( Previously flagged issue is now fixed
Verified as solid
Minor, non-blocking observations
Docs/examples
Overall this is a well-scoped, well-tested fix. No blocking issues found in this pass. |
jog1t
force-pushed
the
fix/cli-supabase-rivet-endpoint
branch
from
July 24, 2026 22:16
78f0ea8 to
0e94e34
Compare
railway-app
Bot
temporarily deployed
to
rivet-frontend / rivet-pr-5483
July 24, 2026 22:16
Destroyed
jog1t
force-pushed
the
fix/cli-supabase-rivet-endpoint
branch
from
July 24, 2026 22:39
0e94e34 to
c1bd0c7
Compare
railway-app
Bot
temporarily deployed
to
rivet-frontend / rivet-pr-5483
July 24, 2026 22:39
Destroyed
|
🚅 Deployed to the rivet-pr-5483 environment in rivet-frontend
|
jog1t
force-pushed
the
fix/cli-supabase-rivet-endpoint
branch
from
July 24, 2026 23:18
c1bd0c7 to
df31cb8
Compare
railway-app
Bot
temporarily deployed
to
rivet-frontend / rivet-pr-5483
July 24, 2026 23:18
Destroyed
jog1t
force-pushed
the
fix/cli-supabase-rivet-endpoint
branch
from
July 24, 2026 23:29
df31cb8 to
77c553b
Compare
railway-app
Bot
temporarily deployed
to
rivet-frontend / rivet-pr-5483
July 24, 2026 23:29
Destroyed
jog1t
force-pushed
the
fix/cli-supabase-rivet-endpoint
branch
from
July 24, 2026 23:43
77c553b to
bd175a8
Compare
railway-app
Bot
temporarily deployed
to
rivet-frontend / rivet-pr-5483
July 24, 2026 23:43
Destroyed
jog1t
force-pushed
the
fix/cli-supabase-rivet-endpoint
branch
from
July 24, 2026 23:52
bd175a8 to
54b8eb5
Compare
railway-app
Bot
temporarily deployed
to
rivet-frontend / rivet-pr-5483
July 24, 2026 23:52
Destroyed
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.
RIVET_ENDPOINTto the Supabase edge function duringrivet devby generating an env file and passing--env-filetosupabase functions serve. The Supabase CLI does not forward the parent process environment to the edge runtime worker, so the function previously fell back to loopback and never connected back to the engine.http://host.docker.internal:6420for the Supabase provider, since the edge runtime runs in a container and cannot reach the host on loopback. A user-supplied--env-filestill takes precedence.rivet devreattaches. This is deterministic and needs no network probing.rivet dev --provider supabasewould reuse an engine that the stamp shows is bound to loopback only (left over from another provider or an older CLI), since the edge runtime cannot reach it from its container. A freshly spawned engine is known-good and never blocked; an engine with no usable stamp is warned about rather than blocked.deno.jsonimport map to thehello-world-supabase-functionsexample. Without it Deno cannot resolve the barerivetkitspecifier and every worker fails to boot.supabase startmust run beforerivet dev, and note that the reused engine keeps its endpoint and binding until restarted.tempfilefrom dev-dependencies to dependencies.