Skip to content

P2: Load the full active Planboard backlog without fetching all completed history #1187

Closed

Description

@currentbits

Audit #1180, 2026-09-10. Baseline: checkout 9fc8645; fetched origin/main bf6fb02 has identical relevant implementation. This is implementation backlog, not a shipped fix.

Evidence

electron/issues.js fetches all issue states with a fixed 1,000 limit. Host issue_list returned 950 issues: 756 classify as Done, but src/planboard.ts shows only 25 Done cards. Normalized payload: 250,661 bytes. Most completed-history transfer is discarded, and the fixed combined cap will eventually exclude older active work. No missing-card claim is made at the current 950 count.

src/components/PlanboardView.tsx also waits for both issues and PRs before showing issues, so a slow optional review meter delays the board.

Change

Paginate the complete active backlog separately from bounded completed history. Preserve open plan:done classification. Render issue columns when ready; let the PR meter settle independently. Preserve selected Done sorting by requesting the corresponding bounded history window or explicit pagination, not sorting an arbitrary sample. Keep project generation guards and independent error states.

Acceptance

  • More than 1,000 historical issues does not hide the oldest open Todo/Doing item.
  • Completed history transfer is bounded to the visible/history page; lowering the global cap is not a fix.
  • Ready issues render while a deferred PR request is pending.
  • Open plan:done cards remain Done with no duplicate cards.
  • Preserve project switching, Refresh and sorting; cover PR failure.
  • Compare request/page count, returned bytes and time to first issue columns.

Follow-up to #655's increase from 100 to 1,000. Coordinate with #1132's rejected-request handling; this issue covers fetch volume and first-content latency.

Activity

  1. currentbits commented on Sep 27, 2026

    @currentbits
    OwnerAuthor

    Cross-provider MCP audit #1369 now reproduces the previously prospective missing-card failure. Current host issue_list returns exactly 1,000 issues: 207 OPEN, 793 CLOSED; oldest returned is #177. Pretty-printed tool text is 347,146 bytes. Read-only GitHub query gh issue list --state open --search 'sort:created-asc' --limit 6 returns open #151, #155, #158, #160, #161, #164, all absent from that MCP result.

    The MCP issue_list schema accepts only threadId/projectId, so agents cannot request a query, open state, page, or one issue. A large response can be truncated by the client while the server already silently excludes older active work. This is provider-independent and now directly verified, not just a capacity prediction. Preserve UI-compatible history semantics, but give MCP bounded search/pagination and complete active-backlog access instead of increasing the combined cap again.

  2. added
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Oct 9, 2026
  3. currentbits commented on Oct 9, 2026

    @currentbits
    OwnerAuthor

    Fixed: open issues are fully paginated and closed ones bounded to 100 (issues.js:390-395, #1370). Closing in the 2026-10-09 board cleanup (#1532).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions