From 6c542466c279d444e2ad04f5463936605bb0eaf7 Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Tue, 9 Jul 2024 09:50:13 -0500 Subject: [PATCH 1/4] chore: remove language for update that mentions stopping The terraform apply will just apply the start state. --- docs/workspaces.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/workspaces.md b/docs/workspaces.md index 5c3abe3646094..5df46d9a6b226 100644 --- a/docs/workspaces.md +++ b/docs/workspaces.md @@ -151,13 +151,11 @@ manually updated the workspace. ## Updating workspaces After updating the default version of the template that a workspace was created -from, you can update the workspace. +from, you can update the workspace. Coder will start the workspace with said +version. ![Updating a workspace](./images/workspace-update.png) -If the workspace is running, Coder stops it, updates it, then starts the -workspace again. - On the command line: ```shell From 3a2587f3680bf8141bd5b762534b9f1c19541c41 Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Tue, 9 Jul 2024 10:11:58 -0500 Subject: [PATCH 2/4] reword updating workspaces to remove the word "restart" --- site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx b/site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx index f98edfc89409e..259565d101308 100644 --- a/site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx +++ b/site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx @@ -336,12 +336,12 @@ export const WorkspaceReadyPage: FC = ({ setIsConfirmingUpdate(false); }} onClose={() => setIsConfirmingUpdate(false)} - title="Update and restart?" + title="Update workspace?" confirmText="Update" description={

- Restarting your workspace will stop all running processes and{" "} + Updating your workspace will stop all running processes and{" "} delete non-persistent data.

{latestVersion?.message && ( From f842dab07aec4504dc9119e2ef724ca021d2392c Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Tue, 9 Jul 2024 10:37:20 -0500 Subject: [PATCH 3/4] update wording --- site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx b/site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx index 259565d101308..8005e96dc8559 100644 --- a/site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx +++ b/site/src/pages/WorkspacePage/WorkspaceReadyPage.tsx @@ -341,7 +341,8 @@ export const WorkspaceReadyPage: FC = ({ description={

- Updating your workspace will stop all running processes and{" "} + Updating your workspace will start the workspace on the latest + template version. This can{" "} delete non-persistent data.

{latestVersion?.message && ( From 6bcb8d447ceb0846f96d37e63c4ae28910df0b51 Mon Sep 17 00:00:00 2001 From: Steven Masley Date: Tue, 9 Jul 2024 10:38:15 -0500 Subject: [PATCH 4/4] fix batch wording --- site/src/pages/WorkspacesPage/BatchUpdateConfirmation.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/src/pages/WorkspacesPage/BatchUpdateConfirmation.tsx b/site/src/pages/WorkspacesPage/BatchUpdateConfirmation.tsx index f5ea3589e2af4..e027d1752976a 100644 --- a/site/src/pages/WorkspacesPage/BatchUpdateConfirmation.tsx +++ b/site/src/pages/WorkspacesPage/BatchUpdateConfirmation.tsx @@ -212,8 +212,8 @@ const Consequences: FC = ({ runningWorkspaces }) => {

You are about to update {workspaceCount}.

  • - Updating will stop all running processes and delete non-persistent - data. + Updating will start workspaces on their latest template versions. This + can delete non-persistent data.
  • Anyone connected to a running workspace will be disconnected until the