Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only deploy functions if all succeed #395

Open
alita-moore opened this issue Jul 26, 2024 · 1 comment
Open

Only deploy functions if all succeed #395

alita-moore opened this issue Jul 26, 2024 · 1 comment

Comments

@alita-moore
Copy link

Is your feature request related to a problem? Please describe.
When deploying functions using supabase functions deploy sometimes an error will occur, but the functions deploy has already committed changes.

Describe the solution you'd like
I would like for supabase functions deploy to work similar to how a database commits changes. It only deploys functions if all of them are going to succeed.

Describe alternatives you've considered
I don't know of any because it seems that supabase functions deploy is unique in that a function may work under supabase functions serve but it won't deploy.

Additional context
N/A

@sweatybridge
Copy link

This is also quite complex to do because our platform api doesn't support rolling back a deployed function. But it's a good suggestion so I will transfer it to edge runtime repo for tracking and awareness.

@sweatybridge sweatybridge transferred this issue from supabase/cli Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants