-
Notifications
You must be signed in to change notification settings - Fork 888
Allow a workspace to be "frozen" #5660
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
Related #4504 |
This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity. |
Different, actually. We ended up renaming "locked" to "dormant" as it was a better description for how it works with our "workspace Dormant workspaces: Workspaces are moved to dormant after n (configurable) days of inactivity and may be auto-deleted or recovered/triaged by the user/admin. Frozen workspaces: An admin can mark a workspace as frozen (or locked, we haven't figured out the terminology) to prevent deletion or changes (such as it being auto-deleted)! Perhaps somebody goes on extended leave and they want to make sure their workspaces aren't marked as dormant. |
You can achieve this by setting a dormancy threshold without setting an auto-deletion threshold |
I'm thinking of a few situations where it might be desirable to keep a workspace in Coder, but ensure that Coder will not take any actions on it. Meaning Coder wouldn't stop or start it based on schedule, would disable the start button, and would make the workspace undeletable for as long as the workspace is in this "frozen" state. As part of freezing a workspace, the stop lifecycle would be run first to turn down compute resources (or this could be an option and by default leave everything its current state). I'm mostly thinking about this from the POV of an admin, but there may be cases where an end-user may desire this.
Possible Use-Cases
The text was updated successfully, but these errors were encountered: