The best way to control Claude Code, Codex and more from any computer or phone
test(server): wait for a workflow member's late reply to reach the test's event log (#21310)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Julius Marminge committed
Oct 18, 2026 at 14:08 UTC
1c12af22d6332dcfe43ad121f1c0f940c8783513
1 file changed
+3
apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts
+3
@@ -15079,6 +15079,9 @@ describe("ClaudeAdapterV2 background wake turns", () => {
15079
yield* TestClock.adjust("100 millis");
15080
}
15081
yield* Fiber.join(notified);
15082
+ // The reply is read with real file I/O after the clock moves, and its
15083
+ // events reach the collector fiber after the frame counts as processed.
15084
+ yield* awaitUntil(() => texts(2).at(-1) === "a2 found README.md", "a2 reply");
15085
assert.deepEqual(texts(2), [
15086
"Reply with exactly: A2",
15087
...early("a2"),