mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-16 03:31:44 +01:00
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:
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");
|
||||
|
||||
Reference in new issue
Block a user