Skip to content

Commit 882e9f2

Browse files
omar7550claude
andcommitted
test(shared): dev servers in awareness cases are marked not-awaited
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 00b4f1a commit 882e9f2

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

‎packages/shared/src/agentAwareness.test.ts‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,13 @@ describe("projectThreadAwarenessV2", () => {
154154
});
155155

156156
it.each([
157-
["only a dev server", "completed", [{ taskId: "dev", kind: "command" }]],
158-
["a dev server's watchdog monitor", "completed", [{ taskId: "watch", kind: "monitor" }]],
157+
["only a dev server", "completed", [{ taskId: "dev", kind: "command", awaited: false }]],
158+
[
159+
"a dev server's watchdog monitor",
160+
"completed",
161+
[{ taskId: "watch", kind: "monitor", awaited: false }],
162+
],
163+
["an unmarked command", "running", [{ taskId: "deploy", kind: "command" }]],
159164
[
160165
"a command the agent waits on",
161166
"running",
@@ -165,7 +170,7 @@ describe("projectThreadAwarenessV2", () => {
165170
"a dev server and a subagent",
166171
"running",
167172
[
168-
{ taskId: "dev", kind: "command" },
173+
{ taskId: "dev", kind: "command", awaited: false },
169174
{ taskId: "review", kind: "subagent" },
170175
],
171176
],

0 commit comments

Comments
 (0)