My dev branch just deleted automatically without any warning.

I have no idea why it happened, but I created dev branch and it worked fine for a while. When I checked today it was just gone with all the data. I've checked similar issue and stumbled on the thread about merging dev branch into main which resulted in automatic branch deletion in supabase so I have a suspicion that same may have happened to me as I remember I merged branched in github and while my dev branch in github is all alive and well, the one in supabase is gone. Do I have to explicitly set somwhere not to delete the branch when I merge it with main?
6 Replies
silentworks
silentworks2mo ago
Was it a persistent branch? There are different branch types and only a persistent branch won't get deleted when you merge. You can read more about the different branch types here https://supabase.com/docs/guides/deployment/branching
othelocold
othelocoldOP2mo ago
I have no idea. Where can I see the type of the branch and how can I set it? I can't see any options when creating a new branch. All I see wether I want to iclude production data into the branch and enabling PITR, but thats all.
silentworks
silentworks2mo ago
The documentation would tell you best. I don't use branching so I cannot advice you here.
othelocold
othelocoldOP2mo ago
Can't find it in docs anywhere. It lists different branches but nowhere does it show how to configure them
garyaustin
garyaustin2mo ago
This seems like the best source of branching issues/info and a place to ask. https://github.com/orgs/supabase/discussions/18937
othelocold
othelocoldOP2mo ago
Thank you. Yes I already posted the issue.

Did you find this page helpful?