Skip to content

coder start on an already started workspace should be a no-op #11380

Closed
@spikecurtis

Description

@spikecurtis

If you run coder start on a workspace that is already started, we should just print "workspace is already started" and exit, not run a new start build.

This can lead to issues, depending on the template, where the agent is not restarted and then fails to connect to Coderd because it has the wrong ID and token.

Related #8266

Metadata

Metadata

Assignees

Labels

s2Broken use cases or features (with a workaround). Only humans may set this.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions