GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished · Issue #2459 · developing-today/code

aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459

New issue
Copy link
New issue
Copy link
Closed
Closed
aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished#2459
Copy link
Assignees
dezren39
Labels
app/aggregatorPackage/app: aggregator (pm-stack in this repo)app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/xsTrivial: expected under 30 minutes of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobtask/fixhas a fix task queued

Description

@dezren39
dezren39
opened on Oct 29, 2026
Issue body actions

Problem

fetchProjectPool (pm-stack/aggregator/src/projects.ts:153-175) paginates the org Project pool with a hard cap of 10 pages (for (let page = 0; page < 10; page++), :159; query page size items(first: 100) at :28, so at most 1,000 items). When the loop exits because the cap was hit — hasNextPage still true — the function returns the partial pool exactly as if it were complete: no throw, no truncation marker, no log. The page's own totalCount is available on every response and is even parsed by projectPageInfo (projects.ts:142-149), but fetchProjectPool never compares it against what it collected.

The sole caller, the fleet-feed collector (pm-stack/aggregator/scripts/collect-fleet-feed.ts:558), treats only a thrown error or a zero-length result as failure (either omits the projects section, :559-568). A truncated pool is published into the fleet feed as the whole pool, and the aggregator then resolves refs and renders /projects, board and program counts from it — every item past page 10 silently vanishes from every dashboard surface, with nothing anywhere saying the pool is incomplete.

Evidence (verified this run, main 5a34fa7)

Laptop probe ~/git/fleet/probe-2026-10-29-laneA-poolpages/ (verbatim projects.ts + model.ts from main, Bun, using the injectable fetchFn the module provides for tests):

  • Mock fetch returning 2 items per page, hasNextPage: true forever, totalCount: 25: fetchProjectPool stopped after exactly 10 fetch calls and returned 20 items — 5 items short of the stated totalCount — with no error and no truncation signal.
  • Control (3 pages, then hasNextPage: false, totalCount 6): returned all 6 items in 3 calls — the finite path is correct; only the cap exit is silent.

Why it matters

The Project pool is the dashboard's live resolution source for GitHub items (#910 stage 5, projects.ts header). A silently truncated pool is worse than an omitted section: an omitted section makes the aggregator fall back to its previous chain and the health views can say the section is missing, while a partial pool looks authoritative — items simply stop existing on the board, /projects counts understate, and nobody is alerted as the real pool grows past 1,000 items.

Acceptance criteria

  • When the 10-page cap is reached with hasNextPage still true (or the collected count is short of the pages' totalCount), the read is treated as incomplete in an observable way — e.g. fetchProjectPool throws so the collector's existing fail-soft path omits the section and logs why, or the truncation is otherwise surfaced (collector log + a completeness signal in the published section) — triage pins which.
  • A pool that fits within the cap is returned complete and unchanged (existing pagination behaviour and tests keep passing).
  • Regression test with a mock fetchFn: an always-hasNextPage sequence past the cap produces the pinned incomplete-read behaviour instead of a silently partial array; a finite multi-page sequence still returns every item.

Dedup / related

  • cold-store-reaper: Drive list_backups never follows nextPageToken — prune-backups retention plans from a silently truncated listing #2426 (cold-store-reaper Drive list_backups pagination) is the same failure pattern in a different component; this is the Project-pool collector read, distinct code and consumer.
  • /projects: make the Project pool browsable — filters, counts, grouping by Kind/Status, honest truncation #1208 (/projects browsability, "honest truncation") is about rendering the pool in the UI, not the collector's fetch cap.
  • Searched open+closed issues for fetchProjectPool, pagination/totalCount and pool truncation: no covering issue.

Activity

Next
  1. developing-today commented on Oct 29, 2026

    @developing-today
    developing-todayBot
    on Oct 29, 2026 – with developing.today
    Contributor
    More actions

    CODE-1256

  2. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/needs-triageNot yet triaged; needs a first look
    source/creatorFiled by the new-issue-creator job
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued queue task
    effort/xsTrivial: expected under 30 minutes of work
    app/aggregatorPackage/app: aggregator (pm-stack in this repo)
    on Oct 29, 2026
  3. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator (new-issue-creator-code-a)
    • Session / ID: new-issue-creator-code-a run 2026-10-29T23:26Z
    • Found via: filed this run
    • Task: Triage the silent 10-page truncation in fetchProjectPool: pin how an incomplete pool read is surfaced (throw into the collector's fail-soft omission vs an explicit completeness signal), then route a small_fix packet.
    • Expectation: effort/xs triage; done = layer pinned and a fix packet with the mock-fetch regression test (always-hasNextPage past the cap; finite multi-page control) routed.
    • Links: evidence/probe in the issue body (laptop probe ~/git/fleet/probe-2026-10-29-laneA-poolpages/, main 5a34fa7)
  4. github-actions
    assigned
    dezren39
    on Oct 30, 2026
  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  6. 34 remaining items

  7. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane F
    • Session / ID: task 5341
    • Found via: queue claim
    • Task: Revalidated issue aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459 and PR fix(aggregator): reject truncated project pools #4183 fresh (metadata only, no touch): issue aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459 OPEN assigned to dezren39, no hard-stop labels; PR fix(aggregator): reject truncated project pools #4183 OPEN authored by dezren39, head 7113754. Drew-owned PR is a hard stop — do not inspect or modify the PR, branch, worktree, CI, review, or source.
    • Expectation: Park 30 minutes; resume only after PR fix(aggregator): reject truncated project pools #4183 closes, ownership changes, or explicit handoff/rerouting; revalidate fresh.
    • Links: PR fix(aggregator): reject truncated project pools #4183
  8. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane D shift
    • Session / ID: task 5341
    • Found via: queue claim
    • Task: Fix aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459: fetchProjectPool throws when the 10-page cap is reached with hasNextPage still true.
    • Expectation: Parked 30m. Fresh metadata check: canonical PR fix(aggregator): reject truncated project pools #4183 is still OPEN, Drew-authored, unchanged at 7113754, and aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459 remains OPEN assigned to Drew. The PR, branch, and source were not inspected or modified. Resume only after PR fix(aggregator): reject truncated project pools #4183 closes, ownership changes, or an explicit handoff.
    • Links: PR fix(aggregator): reject truncated project pools #4183
  9. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: repo-worker-code (OpenChamber scheduled lane)
    • Session / ID: queue task 5341 (small_fix aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459, canonical PR fix(aggregator): reject truncated project pools #4183)
    • Action: Claim acquired and checkpointed. Existing progress identifies a Drew-authored PR and requires metadata-only revalidation; no PR or worktree inspection until ownership restriction resolves.
  10. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: repo-worker-code (OpenChamber scheduled lane)
    • Session / ID: queue task 5341 (small_fix aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459, canonical PR fix(aggregator): reject truncated project pools #4183)
    • Reason: Fresh metadata confirms aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459 remains open and Drew-assigned; PR fix(aggregator): reject truncated project pools #4183 is open, non-draft, and Drew-authored on the task branch. No PR contents, branch, worktree, or source inspected or modified.
    • Resume: Revalidate after the 30-minute park. Resume only after PR fix(aggregator): reject truncated project pools #4183 closes/merges, ownership changes, or Drew explicitly hands off.
  11. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane B
    • Session / ID: task 5341
    • Found via: queue claim (resume from park)
    • Task: No work done — metadata-only fresh revalidation confirms the ownership hard stop is unchanged: issue aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459 is OPEN and assigned to dezren39, and canonical PR fix(aggregator): reject truncated project pools #4183 is OPEN, non-draft, authored by dezren39. PR fix(aggregator): reject truncated project pools #4183's contents, branch, and worktree were not inspected or touched.
    • Expectation: Parked 30 minutes. Resume only after PR fix(aggregator): reject truncated project pools #4183 closes/merges, an ownership release/handoff, then revalidate fresh.
    • Links: PR fix(aggregator): reject truncated project pools #4183 fix(aggregator): reject truncated project pools #4183
  12. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 2, 2026
  13. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane E
    • Session / ID: task 5341
    • Found via: queue claim
    • Task: Resumed task 5341 / PR fix(aggregator): reject truncated project pools #4183 for issue aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459. Correction to the earlier ownership park: PR fix(aggregator): reject truncated project pools #4183 is this task's own fleet PR (branch queue/5341-2459-project-pool-cap) — dezren39 authorship is the shared-account false positive, and neither issue aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459 nor PR fix(aggregator): reject truncated project pools #4183 carries a hard-stop label. Verified fresh: Codex review on head 7113754 completed with no findings; the PR diff is exactly the pinned fix (projects.ts + its regression tests); projects.test.ts passes 14/14 on the laptop at the PR head. The CI test job's only failures are the two pre-existing main failures (slice-3 dns/sessions/pages, hub service detail — both also failing on clean main), so the PR merges under the standing criteria with that infra note recorded.
    • Expectation: PR fix(aggregator): reject truncated project pools #4183 merged this shift; issue aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459 closes with it.
    • Links: PR fix(aggregator): reject truncated project pools #4183
  14. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane E
    • Session / ID: task 5341
    • Found via: queue claim
    • Task: Done. PR fix(aggregator): reject truncated project pools #4183 merged (merge commit b8bbe73) implementing the pinned aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459 fix: fetchProjectPool throws when the 10-page cap is reached with hasNextPage still true, so the collector omits the projects section instead of publishing a truncated pool as complete. This shift resolved the branch's merge conflict with main (test-import union only), re-verified on the merged tree (projects.test.ts 15/15 on the laptop), and waited for the fresh Codex round on the new head (completed, no findings) before merging. CI note: the test job's only failures are the two pre-existing main failures (slice-3 dns/sessions/pages, hub service detail), documented on clean main.
    • Expectation: Issue aggregator(projects): fetchProjectPool silently truncates the pool at 10 pages — a pool over 1,000 items is published as complete with the rest vanished #2459 closed by this note; task 5341 completed.
    • Links: PR fix(aggregator): reject truncated project pools #4183
  15. dezren39
    closed this as completedon Nov 2, 2026
  16. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/aggregatorPackage/app: aggregator (pm-stack in this repo)app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/xsTrivial: expected under 30 minutes of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobtask/fixhas a fix task queued

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.