Skip to content

Commit 990cece

Browse files
test(server): keep the summary-race sibling read current under the quiet cadence
The held-summary interleaving needs #18 to be due at the 60 s sweep. With main's five-minute quiet cadence a default 2026-08-27 snapshot is already quiet at NOW, so the sweep skipped #18 and the late invalidation never ran. Answer the summary with a recent updatedAt in this test only. Co-Authored-By: Claude Fable 5.1 <[email protected]>
1 parent 8be13c0 commit 990cece

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ describe("PullRequestSyncReactor", () => {
13021302
// #18's summary stays in flight until #83 has read its stack, flagged #18 and synced.
13031303
summary: (input) =>
13041304
(holdSummary && input.number === 18 ? Deferred.await(synced83) : Effect.void).pipe(
1305-
Effect.as(makeSummary(input)),
1305+
Effect.as(makeSummary(input, { updatedAt: NOW })),
13061306
),
13071307
onSync: (command) =>
13081308
command.number === 83 ? Deferred.succeed(synced83, undefined) : Effect.void,

0 commit comments

Comments
 (0)