Skip to content

Commit ee347db

Browse files
only21milclaude
andcommitted
test(server): note why the turn-end case reuses a turn id
Codex never reuses a turn id. The comment says the reuse is deliberate, so a maintainer sees it makes the turn-end cleanup observable. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent a149881 commit ee347db

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/server/src/orchestration-v2/Adapters/CodexAdapterV2.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9429,6 +9429,7 @@ describe("CodexAdapterV2 post-settle continuation", () => {
94299429
Effect.gen(function* () {
94309430
const secondPrompt = "Edit again.";
94319431
// turn/start request, its response and turn/started, reusing the first native turn id.
9432+
// Codex never reuses a turn id; reusing it here makes the turn-end cleanup observable.
94329433
const secondTurnStart = codexReplayPreamble({
94339434
nativeThreadId,
94349435
nativeTurnId,

0 commit comments

Comments
 (0)