sagemathinc / cocalc

CoCalc: Collaborative Calculation in the Cloud
https://CoCalc.com
Other
1.16k stars 216 forks source link

do not allow deleting a project if it has non-deprovisioned compute servers in it. #7520

Closed williamstein closed 4 months ago

williamstein commented 5 months ago

If you delete a project with non-deprovisioned compute servers, then after a few weeks the project is purged and you can't undelete the project. As a result you can't deprovision the compute servers, and keep getting charged. Instead, if there are any compute servers that are provisioned then do not allow deleting the project.

The other option would be to make clicking "delete" on a project automatically and immediately deprovision all compute servers. This has the potential to cause severe data loss, so probably isn't a good idea.

williamstein commented 4 months ago

closing in favor of a graduated version of #7521 that is handled on the backend, which I just implemented.