Skip to content

Commit 44b720e

Browse files
test(server): assert every lookup in the turn-end PR test
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 86aac0d commit 44b720e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/server/src/orchestration-v2/ThreadPullRequestService.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ describe("ThreadPullRequestServiceV2 reads", () => {
276276
yield* service.drain;
277277
}).pipe(Effect.provide(dependencies));
278278

279-
// Each refresh is a GitHub request for the same branch and head.
280-
expect(lookups.filter((lookup) => lookup.refresh)).toEqual([{ refresh: true }]);
279+
// The startup sweep, then one refresh lookup for the whole turn-end batch.
280+
expect(lookups).toEqual([{ refresh: false }, { refresh: true }]);
281281
}),
282282
),
283283
);

0 commit comments

Comments
 (0)