From 29ca0ecb98029c97b4d1346d793e440981e66419 Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Sun, 16 Aug 2026 18:44:56 -0700 Subject: [PATCH] test(orchestration): confirm worker release teardown --- .../methods/orchestration-worker-release-recovery.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/runtime/rpc/methods/orchestration-worker-release-recovery.test.ts b/src/main/runtime/rpc/methods/orchestration-worker-release-recovery.test.ts index d090e15103a..16e7b6de9b3 100644 --- a/src/main/runtime/rpc/methods/orchestration-worker-release-recovery.test.ts +++ b/src/main/runtime/rpc/methods/orchestration-worker-release-recovery.test.ts @@ -80,8 +80,9 @@ describe('orchestration worker release recovery', () => { }) vi.spyOn(runtime, 'closeTerminal').mockResolvedValue({ handle: 'term_worker', - closed: true - } as never) + tabId: 'tab-worker', + ptyKilled: true + }) vi.spyOn(runtime, 'notifyMessageArrived').mockImplementation(() => {}) activeRunId = db.createRun({ objective: 'Release recovery test Run',