Skip to content

"Update workspace template" on started workspace should STOP before START #350

@spikecurtis

Description

@spikecurtis

Background

Best practice is to STOP a workspace before doing an update if it is started.

  1. If the update changes parameters, the old template might be needed to correctly STOP with the existing parameter values

  2. The agent gets a new ID and token on each START build. Many template authors are not diligent about making sure the agent gets restarted with this information when we do two START builds in a row.

Issue

If you click "Update workspace template" in the plugin, with a workspace that is already started, it issues another START build (with the new template version, presumably) without STOP first.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions