How do I restore or recover an edge function to a previous deploy state? #40448
Unanswered
cesarrincon1a
asked this question in
Questions
Replies: 1 comment
-
|
Supabase Edge Functions don’t keep version history in the dashboard. When you edit a function directly in the UI, each save/deploy overwrites the previous version, and there’s currently no built-in rollback or code recovery mechanism. If the dashboard shows an old version, it means:
What you can do nowUnfortunately, Supabase cannot recover previous code versions for you. The only way to restore the working code is:
Best practice to avoid thisDevelop Edge Functions locally using the Supabase CLI: This keeps all code in your local version control (Git) so you can always roll back. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I development and deployed an edge function in the supabase dashboard, that function was working and fully functional, and two days later, when I tried to execute it, it returned an error. Upon reviewing the code, I noticed that it had reverted to the earliest versions, from when I initially started creating the edge function. I need recover to the last version.
Beta Was this translation helpful? Give feedback.
All reactions