diff --git a/apps/server/src/mcp/OrchestratorMcpService.activity.test.ts b/apps/server/src/mcp/OrchestratorMcpService.activity.test.ts index a0953eb509e5f..cff4cb8b75837 100644 --- a/apps/server/src/mcp/OrchestratorMcpService.activity.test.ts +++ b/apps/server/src/mcp/OrchestratorMcpService.activity.test.ts @@ -273,6 +273,7 @@ it("readThread preserves caller access errors and prefers activity-run status ov beforePosition: Number.MAX_SAFE_INTEGER, }); expect(newestPage.thread.pullRequests?.map((link) => link.number)).toEqual([2, 8, 7, 6, 5]); + expect(newestPage.thread.openPullRequestCount).toBe(7); Object.assign(projection, { runs: [makeRun({ id: activeRunId, ordinal: 1, status: "completed" })],