Skip to content

Commit 256580b

Browse files
test(server): signal neighbour reads that fail too
Effect.tap skipped the queue offer when a read failed, so the test could wait until Vitest's timeout instead of failing on its assertion. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 56044e4 commit 256580b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/project/AgentSessionScanner.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1983,7 +1983,7 @@ describe.skipIf(HostProcess.Platform.defaultValue() === "win32")(
19831983
return neighbourConfigs.has(filePath)
19841984
? runner
19851985
.run(input)
1986-
.pipe(Effect.tap(() => Queue.offer(finishedNeighbourReads, filePath)))
1986+
.pipe(Effect.ensuring(Queue.offer(finishedNeighbourReads, filePath)))
19871987
: runner.run(input);
19881988
},
19891989
});

0 commit comments

Comments
 (0)