Skip to content

Workspace is automatically updated when started via WebUI #3718

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
mafredri opened this issue Aug 27, 2022 · 1 comment · Fixed by #3984
Closed

Workspace is automatically updated when started via WebUI #3718

mafredri opened this issue Aug 27, 2022 · 1 comment · Fixed by #3984
Assignees
Labels
site Area: frontend dashboard

Comments

@mafredri
Copy link
Member

mafredri commented Aug 27, 2022

When my workspace is outdated and the WebUI has the "Update" button present, if I try to bypass this by selecting "Start" from the dropdown menu, my workspace is updated anyway.

This does not happen when doing coder start work via CLI.

Kind of related to #2871, but this is a consistency issue.

Coder outdated-updated on start bug

The request:

POST http://coder.home.my.domain:7080/api/v2/workspaces/279504e2-ad0e-4fbf-b9e6-9a8d9aa7f038/builds
{
  "transition": "start",
  "template_version_id": "ff484f7c-d3f2-4fe5-900a-a5cde55f04bd"
}

I'm guessing the WebUI is simply using the latest template version when issuing start? Could be something else though.

@mafredri mafredri added bug site Area: frontend dashboard labels Aug 27, 2022
@BrunoQuaresma
Copy link
Collaborator

You are right, we are using the latest version when doing the "start".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site Area: frontend dashboard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants