Skip to content

Commit 168f416

Browse files
voltcrashclaude
andcommitted
test(server): keep mock Codex turn ids unique across app-server restarts
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 2d23de9 commit 168f416

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/provider/testFixtures/codexSessionRecoveryMockPeer.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ NodeReadline.createInterface({ input: process.stdin }).on("line", (line) => {
4242
case "turn/start": {
4343
const turn = {
4444
...fixture.responses.turnStart.turn,
45-
id: `turn-${nextTurnId++}`,
45+
id: `turn-${process.pid}-${nextTurnId++}`,
4646
};
4747
write({ id, result: { turn } });
4848
write({ method: "turn/started", params: { threadId: params.threadId, turn } });

0 commit comments

Comments
 (0)