Skip to content

Commit 902c2da

Browse files
committed
test(workspace): drop tmux assertions from recovery suite
1 parent 972f5c2 commit 902c2da

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

tests/workspace-recovery.test.ts

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -114,33 +114,6 @@ test("controller gets recovery action when interrupted session runtime exited ev
114114
assert.deepEqual(action, { kind: "resume" });
115115
});
116116

117-
test("controller gets recovery action when tmux session is missing even if runtime id remains bound", () => {
118-
const action = resolveAgentRecoveryAction(
119-
createWorkspaceControllerState({
120-
role: "controller",
121-
deviceId: "device-a",
122-
clientId: "client-a",
123-
fencingToken: 1,
124-
}),
125-
{
126-
id: "1",
127-
title: "Session 1",
128-
status: "interrupted",
129-
mode: "branch",
130-
provider: "codex",
131-
autoFeed: true,
132-
queue: [],
133-
messages: [],
134-
unread: 0,
135-
lastActiveAt: 1,
136-
terminalRuntimeId: "runtime-1",
137-
runtimeLiveness: "tmux_missing",
138-
},
139-
);
140-
141-
assert.deepEqual(action, { kind: "restart" });
142-
});
143-
144117
test("controller still gets recovery action when only a legacy terminal id remains without a live runtime binding", () => {
145118
const action = resolveAgentRecoveryAction(
146119
createWorkspaceControllerState({

0 commit comments

Comments
 (0)