TypeScript
test(server): finish workflow reads before changing transcripts (#18192)
Michael Johnston9b9792ead5d5
diff --git a/apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts b/apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.tsindex 4bf007065a7..cc4896c9afb 100644--- a/apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts+++ b/apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts@@ -13241,8 +13241,7 @@ describe("ClaudeAdapterV2 background wake turns", () => {NodePath.join(harness.transcriptDir, "agent-a1.jsonl"),'{"type":"assistant","message":{"role":"assistant","id":"msg_a1","content":[{"type":"text","text":"A1 continued"}]}}\n',);- yield* Queue.offer(- harness.sdkMessages,+ yield* harness.offerAndWait(workflowSnapshot({ uuid: "00000000-0000-4000-8000-000000001015", state: "done" }),);yield* awaitUntil(@@ -13265,8 +13264,7 @@ describe("ClaudeAdapterV2 background wake turns", () => {NodePath.join(harness.transcriptDir, "agent-a2.jsonl"),'{"type":"assistant","message":{"role":"assistant","id":"msg_a2","content":[{"type":"text","text":"A2 from the transcript"}]}}\n',);- yield* Queue.offer(- harness.sdkMessages,+ yield* harness.offerAndWait(workflowSnapshot({ uuid: "00000000-0000-4000-8000-000000001016", state: "done" }),);yield* awaitUntil(