-
Notifications
You must be signed in to change notification settings - Fork 875
Workspaces can be created with invalid values, then cannot be deleted #831
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
Comments
Hey team! Please add your planning poker estimate with ZenHub @kylecarbs @coadler |
I've just run into this myself. :( Is there any workaround to delete the invalid workspace (even if it involves hitting some API endpoint manually)? |
You can grab the state with |
How does I'm also not sure there are any terraform resources I need to destroy (because none were created originally for this invalid workspace) - is there a different path I should take to just remove coderd's knowledge of the invalid workspace? |
Ahh, you're in a locked state then, unfortunately. This is something I'll have a patch out for in a few days though, so for now I suppose just leave that workspace hanging 😥. |
This issue is mitigated by #1594 (which allows you to delete workspaces in this broken state), but I will be making further effort to catch validation errors earlier on. |
Description
If you create a new workspace with invalid values, there are a couple unexpected things:
coder
doesn't automatically delete the invalid workspace)Steps to Reproduce
Logs
Can't reuse workspace name
Can't delete workspace
Can't edit workspace
The text was updated successfully, but these errors were encountered: