Repository navigation
fix(cli): update Supabase CLI with the stable Docker workflow - #1280
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughSupabase setup now uses the pinned CLI package, validates the database URL from JSON status output, and writes verified URLs to both database environment variables. Manual setup and failure paths leave existing environment values unchanged. Tests cover package managers, setup modes, interruptions, and command failures. ChangesSupabase setup
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
fd5f694c-c4d8-4922-9d0e-26884e15a8b3
📒 Files selected for processing: 12
apps/cli/live-tests/README.mdapps/cli/live-tests/database.tsapps/cli/live-tests/providers.tsapps/cli/live-tests/run.tsapps/cli/live-tests/runner.test.tsapps/cli/live-tests/state.tsapps/cli/live-tests/supabase.test.tsapps/cli/live-tests/verification-2026-10-16.mdapps/cli/src/helpers/core/git.tsapps/cli/src/helpers/database-providers/supabase-setup.tsapps/cli/test/supabase-setup.test.tsapps/web/content/docs/cli/options.mdx
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
02ebbae0-9dd5-493f-b6f0-46ccb1ac24da
📒 Files selected for processing: 4
apps/cli/live-tests/verification-2026-10-16.mdapps/cli/src/helpers/database-providers/supabase-setup.tsapps/cli/test/supabase-setup.test.tsapps/web/content/docs/cli/options.mdx
🚧 Files skipped from review as they are similar to previous changes: 1
- apps/cli/live-tests/verification-2026-10-16.md
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
Update automatic and manual Supabase setup to stable CLI 2.121.0 while keeping the standard Docker-based workflow.
Force
SUPABASE_EXPERIMENTAL_STACK=0for provider subprocesses so existing configuration cannot enable the experimental runtime. Forward cancellation to init/start/status and bound status reads to 120 seconds.Read the database URL from
status --output jsonand write bothDATABASE_URLandDIRECT_URL. Preserve existing Supabase configuration and credentials during manual setup or provider failures, and replace unsupported global npm installation instructions with the selected package runner.No experimental stack activation, native runtime, on-demand preparation, branch-based stack identity, or experimental runner integration is included. The earlier native runtime runs do not validate this Docker workflow and are not counted as evidence for the revised PR.
Closes #1279.
Validation:
bun run checkbun run build:cliincluding publintstartused the Docker path and reported the unavailable local Docker daemon. Docker migration and browser tests remain unverified; no experimental runtime is substituted.Sources: Supabase local CLI guide, runtime distinction.
Generated-build repairs
Fix the Svelte auth forms to annotate the destructured props instead of passing a type argument to
$props(). Aligneffect,@effect/platform-node, and@effect/platform-bunon 4.0.5 so the generated infrastructure matches the current transitive platform and SQL package requirements. This addresses the Svelte type errors, Alchemy CLI loading failures, and npm Effect type incompatibilities reported by generated-build CI.Sources: Svelte props type safety, published platform peer requirements.
Repair verification:
bun run check, CLI build/publint, CLI source/test typechecks, and template-generator typecheck pass.Summary by CodeRabbit
Bug Fixes
Documentation