From 146ac7c9e516ffc05d7a797f14348e169fac0e6e Mon Sep 17 00:00:00 2001 From: Dotta Date: Sat, 18 Apr 2026 10:12:53 -0500 Subject: [PATCH] Fix stale workspace command matching Co-Authored-By: Paperclip --- ui/src/components/WorkspaceRuntimeControls.test.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ui/src/components/WorkspaceRuntimeControls.test.tsx b/ui/src/components/WorkspaceRuntimeControls.test.tsx index 0ceedbb4778..8944c56b622 100644 --- a/ui/src/components/WorkspaceRuntimeControls.test.tsx +++ b/ui/src/components/WorkspaceRuntimeControls.test.tsx @@ -104,7 +104,15 @@ describe("buildWorkspaceRuntimeControlSections", () => { runtimeServiceId: null, }), ]); - expect(sections.otherServices).toEqual([]); + expect(sections.otherServices).toEqual([ + expect.objectContaining({ + title: "web", + statusLabel: "stopped", + command: "pnpm dev", + runtimeServiceId: "service-web", + disabledReason: "This runtime service no longer matches a configured workspace command.", + }), + ]); }); it("surfaces running stale runtime services separately from updated commands", () => {