From 8d9ec19e7a321ac1acc82c4d09d226d741b31cc9 Mon Sep 17 00:00:00 2001 From: Nicky Leach Date: Thu, 12 Nov 2026 20:20:27 -0800 Subject: [PATCH] Keep retry workspace fixture source IDs mutable Match the ContinuationReadiness contract when passing the fixture directly. Validated the complete server layered typecheck, including all test-tree layers. Co-Authored-By: Paperclip --- server/src/__tests__/plugin-workspaces.integration.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/__tests__/plugin-workspaces.integration.test.ts b/server/src/__tests__/plugin-workspaces.integration.test.ts index a412bc0196f..efe55c01253 100644 --- a/server/src/__tests__/plugin-workspaces.integration.test.ts +++ b/server/src/__tests__/plugin-workspaces.integration.test.ts @@ -87,7 +87,7 @@ const support = await getEmbeddedPostgresTestSupport(); const [retry] = await db.insert(heartbeatRuns).values({ companyId: f.companyId, agentId: f.input.agentId, issueId: f.issueId, status: "running", contextSnapshot: { taskRetryRequestId: retryIntentId }, }).returning(); - const fresh = { mode: "fresh_isolated_workspace", retryIntentId, sourceRunId: f.runId, retainedSourceIds: [] } as const; + const fresh = { mode: "fresh_isolated_workspace" as const, retryIntentId, sourceRunId: f.runId, retainedSourceIds: [] }; const call = vi.fn(async (...args) => { const result = await f.workers.call(...args) as { kind: string }; if (state === "transport") throw new Error("connection closed");