Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow specifying initial state of workspaces #1097

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

Closed
johnstcn opened this issue Apr 21, 2022 · 1 comment
Closed

Allow specifying initial state of workspaces #1097

johnstcn opened this issue Apr 21, 2022 · 1 comment
Assignees
Labels
api Area: HTTP API cli Area: CLI enterprise Enterprise-license / premium functionality

Comments

@johnstcn
Copy link
Member

(From an impromptu discussion with @kylecarbs and @coadler)

What:

Currently, when you create a workspace, a provisioner job is automatically created that brings the workspace into the "running" state.

This should remain the default behaviour, but we should allow users to specify whether the workspace is in the "running" state or the "stopped" state.

e.g. coder workspaces build my-workspace --state=stopped

Why:

A number of potential user-cases exist where you may wish to (pre-)provision the resources for a workspace without actually starting it:

  • Unit/Integration/Load Testing
  • Pre-warming / mass user onboarding
  • ???
@johnstcn johnstcn self-assigned this Apr 21, 2022
@johnstcn johnstcn added api Area: HTTP API cli Area: CLI Post-MVP 🏁 labels Apr 21, 2022
@misskniss misskniss added this to the Post-MVP milestone Apr 26, 2022
@kylecarbs kylecarbs changed the title feat: allow specifying initial state of workspaces Allow specifying initial state of workspaces Jun 7, 2022
@ketang
Copy link
Contributor

ketang commented Jun 22, 2022

Will also want this via the web UI.

@ketang ketang added the enterprise Enterprise-license / premium functionality label Jun 30, 2022
@misskniss misskniss removed this from the Post-MVP milestone Jul 22, 2022
@f0ssel f0ssel closed this as completed Jul 28, 2022
@f0ssel f0ssel closed this as not planned Won't fix, can't repro, duplicate, stale Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Area: HTTP API cli Area: CLI enterprise Enterprise-license / premium functionality
Projects
None yet
Development

No branches or pull requests

5 participants