@devries-cameron20 / t3code-1 / commits / 9b9792ead5
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

test(server): finish workflow reads before changing transcripts (#18192)

Michael Johnston committed Oct 11, 2026 at 18:07 UTC 9b9792ead5d5b1bad9b713336c90de6af81b1d39
1 file changed +2 -4
apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts
+2 -4
@@ -13241,8 +13241,7 @@ describe("ClaudeAdapterV2 background wake turns", () => {
13241 NodePath.join(harness.transcriptDir, "agent-a1.jsonl"),
13242 '{"type":"assistant","message":{"role":"assistant","id":"msg_a1","content":[{"type":"text","text":"A1 continued"}]}}\n',
13243 );
13244 - yield* Queue.offer(
13245 - harness.sdkMessages,
13244 + yield* harness.offerAndWait(
13245 workflowSnapshot({ uuid: "00000000-0000-4000-8000-000000001015", state: "done" }),
13246 );
13247 yield* awaitUntil(
@@ -13265,8 +13264,7 @@ describe("ClaudeAdapterV2 background wake turns", () => {
13264 NodePath.join(harness.transcriptDir, "agent-a2.jsonl"),
13265 '{"type":"assistant","message":{"role":"assistant","id":"msg_a2","content":[{"type":"text","text":"A2 from the transcript"}]}}\n',
13266 );
13268 - yield* Queue.offer(
13269 - harness.sdkMessages,
13267 + yield* harness.offerAndWait(
13268 workflowSnapshot({ uuid: "00000000-0000-4000-8000-000000001016", state: "done" }),
13269 );
13270 yield* awaitUntil(