Skip to content

Commit a2cb50c

Browse files
committed
fix(server): replay recorder forks with excludeTurns too
The adapter now sends excludeTurns on thread/fork, and the fixtures were updated to match. The recorder still built the request without it, so a re-recorded fixture would not match the adapter's frame. It now sends excludeTurns like its thread/resume requests do.
1 parent a4cdaf1 commit a2cb50c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/server/scripts/record-codex-app-server-replay-fixture.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,6 +1431,7 @@ const runReplaySession = Effect.fn("record-codex-app-server-replay-fixture.runRe
14311431
const lastTurnId = lastTurnIdByThread.get(sourceThreadId);
14321432
const forked = yield* client.request("thread/fork", {
14331433
threadId: sourceThreadId,
1434+
excludeTurns: true,
14341435
...(lastTurnId === undefined ? {} : { lastTurnId }),
14351436
...threadRuntimeParams,
14361437
});

0 commit comments

Comments
 (0)