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

Clasp undeploy doesn't free up versions to be deleted from Web UI resulting in inability to deploy new versions #1015

Open
dustinkerstein opened this issue Aug 2, 2024 · 0 comments

Comments

@dustinkerstein
Copy link

Expected Behavior

Undeploying via clasp undeploy should allow those versions to be deleted via the Apps Script Project History Web UI in the same way as archiving via the Web UI

Actual Behavior

clasp undeploy seems to undeploy, but there is something still left behind as those old versions can't be deleted in the Project History Web UI. Versions undeployed via Clasp don't show in the Project History Bulk Delete UI, and when trying to manually delete them one at a time in the Project History UI, it says "You can not delete this version as it is in use by some deployment". I believe this is very much related to what is mentioned here - https://stackoverflow.com/questions/78392922/how-do-i-delete-old-deployments-versions-in-google-apps-script-when-i-have-ove - but I seem to have created an even worse situation as I used Clasp to delete all deployments. And since they weren't deleted all of the way, I am still over the 200 version limit, and neither Clasp nor the Web UI will let me create new deployments. Any help / workarounds would be greatly appreciated as our production site is now down. Thanks!

Steps to Reproduce the Problem

  1. Deploy 2 versions (version A and version B) via Web or Clasp
  2. Undeploy (Archive) version A via the Web UI and note that you can delete this version in the Web UI Project History
  3. Undeploy version B via Clasp, and note that you can't delete this version in the Web UI Project History and it is stuck taking up 1 of the 200 version slots

Specifications

  • Node version: v20.12.0
  • Version: 2.4.2
  • MacOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant