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 <noreply@paperclip.ing>
This commit is contained in:
Nicky LeachandPaperclip committed 2026-11-12 20:20:27 -08:00
1 parent 7c598a4da3
commit 8d9ec19e7a
1 file changed
+1 -1
@@ -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<WorkspaceWorkers["call"]>(async (...args) => {
const result = await f.workers.call(...args) as { kind: string };
if (state === "transport") throw new Error("connection closed");