👟 Reproduction steps
- Create a function manually
- Wait for it to build
- If we delete the deployment, when there is only one deployment regardless of pending status (like building...) or active, all will be good and we will get something like this
- BUT IF WE DELETE ALL DEPLOYMENT when there is more than one deployments, like this (including pending ones like the those with "Building / Waiting / etc" status:
- ... we will get a 404 error page, and ended up with orphaned functions, when we click on these functions we will get the 404 error on the specific function we choose
CLICKING THE FUNCTION will result in 404
AND WE DON'T HAVE THE OPTION TO DELETE THESE ORPHANED FUNCTIONS
👍 Expected behavior
It should instead be like the case where we have no deployments yet (like the situation when we only have one deployment and we delete it)
👎 Actual Behavior
We get a 404 error page, and ended up with orphaned functions, when we click on these functions we will get the 404 error on the specific function we choose
CLICKING THE FUNCTION will result in 404
AND WE DON'T HAVE THE OPTION TO DELETE THESE ORPHANED FUNCTIONS
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Linux
🧱 Your Environment
not relevant - all the steps are via the appwrite cloud console UI
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?