Repository navigation
Fix edge function deploy under Supabase CLI v3 - #94
Merged
Merged
Conversation
The deploy job installed the CLI at `latest`, which became v3.0.0 on 2026-11-02. v3 asks before any change to a hosted project and fails when nothing can answer, so the deploy on main stopped at the prompt and changed nothing. Pin the CLI to 3.0.0 so a new major can't break deploys unannounced, pass --yes, and use --remote in place of the deprecated --project-ref.
Deploying timeline-prototype with
|
| Latest commit: |
2c286eb
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5f70fbe7.timeline-prototype.pages.dev |
| Branch Preview URL: | https://fix-ci-supabase-cli-v3.timeline-prototype.pages.dev |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
What failed
After #93 merged, the Deploy edge functions job on
mainfailed (run 41519205203). Typecheck, lint, test and build all passed.The job installs the Supabase CLI at
version: latest, and that became v3.0.0 earlier that day. v3 asks before any change to a hosted project and fails when nothing can answer:Nothing was deployed, so production still runs the functions from the last green deploy (
226982e). #93 didn't touch any functions.Fix
3.0.0instead oflatest, so a new major can't break deploys unannounced. Bump it on purpose.--yes(v3's documented way to confirm in CI).--remote=<ref>in place of--project-ref, which v3 deprecates and plans to remove.Testing
supabase functions deploy --remote=oybmtfnarflrceukvays --yeswith the CLI at3.0.0.main, so this PR's CI can't exercise it. The proof is the deploy run after merge.