Skip to content

Commit c1777e1

Browse files
SunkenInTimeclaude
andcommitted
test(server): two more Claude interrupt fixtures expect interrupted commands
claude_background_task_interrupt and turn_interrupt_restart asserted the old failed status for the command a stop cut short. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent fbb95df commit c1777e1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

  • apps/server/src/orchestration-v2/testkit/fixtures

‎apps/server/src/orchestration-v2/testkit/fixtures/claude_background_task_interrupt/output.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function assertClaudeBackgroundTaskInterruptOutput(
4444
projection.turnItems.flatMap((item) =>
4545
item.type === "command_execution" ? [item.status] : [],
4646
),
47-
["completed", "failed"],
48-
"the background launch completed; the interrupted foreground command did not",
47+
["completed", "interrupted"],
48+
"the background launch completed; the foreground command was interrupted",
4949
);
5050
}

‎apps/server/src/orchestration-v2/testkit/fixtures/turn_interrupt_restart/claude_output.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export function assertTurnInterruptRestartClaudeOutput(
111111
assert.equal(projection.providerThreads[0]?.status, "idle");
112112
const commandItem = projection.turnItems.find((item) => item.type === "command_execution");
113113
assert.isDefined(commandItem);
114-
assert.equal(commandItem.status, "failed");
114+
assert.equal(commandItem.status, "interrupted");
115115
assert.include(commandItem.input, "node -e");
116116

117117
const outboundFrames = transcript.entries.flatMap((entry) =>

0 commit comments

Comments
 (0)