Skip to content

Allow async workspace start from cli #16408

Closed
@mattlqx

Description

@mattlqx

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When using coder start to start a workspace, the client will start displaying the terraform run and as a result, the command will not return until the run is complete. As an admin, I would like the ability to quickly start (or stop for that matter) any number of workspaces without needing to wait for the apply completion. It would be good to have an --wait=no option or the like so that coder will make the API call to perform the action and then return without waiting or displaying the run.

This is a great alternative to clicking through to multiple workspaces to "retry" or start them. Also possibly related: the multiple select on the workspace list doesn't appear to allow start or stop as an action.

Relevant Log Output

Expected Behavior

No response

Steps to Reproduce

  1. coder start a workspace

Environment

  • Host OS:
  • Coder version: 2.18.4

Additional Context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions