Skip to content

buildBacklogPayload

buildBacklogPayload(inputs): Promise<BacklogPayload>

Defined in: src/server.ts:3606

Build the backlog overview payload: every repo under repoRoot, deduped by forge slug (forge-backed) or path (forge-less), with open issue/PR counts, a pinned project, and totals. Forge-less repos (no detectable remote) and lightweight repos (LocalForge) appear with kind:"local", null slug, and empty counts so their per-repo settings stay reachable without launching a task. Shared by GET /api/backlog and the poller’s backlog:update broadcast so both emit byte-identical snapshots.

BacklogPayloadInputs

Promise<BacklogPayload>