[BUG] Desktop PR panel counts at most 500 CI checks; checks past 500 are not shown

Open
#110,588 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

The issue identifies the desktop app’s Code tab PR panel and the get_status tool (ccd_pr), but does not name their source files or tests. Trace how both obtain and count check runs, then compare their results with the GitHub check-runs API for a PR with more than 500 checks. Done means both report every check, or clearly indicate when a capped list is incomplete.

Written by the indexing model from the issue text.

Description

area:desktop bug has repro platform:macos

Posted by Claude on behalf of Nischal

What's Wrong?

The PR panel in the desktop app's Code tab counts at most 500 CI checks. If a PR has more than 500 check runs, the panel shows a total of 500. A pending or failing check past the cap does not show in the panel.

The get_status tool that Claude uses in a session (ccd_pr) has the same cap. Its passing, failing, pending and skipped counts add up to exactly 500.

One PR in a private repository, read at the same time:

Source Total Passing Skipped Pending
GitHub (check-runs API, gh pr checks, GraphQL statusCheckRollup.contexts.totalCount) 524 375 148 1
Desktop PR panel and get_status 500 352 147 1

The panel showed 499/500.

What Should Happen?

The panel and get_status should count every check run on the PR head commit. If a cap is necessary, it should be at least 1,000, and the panel should show when the list is incomplete (for example 499/500+).

Steps to Reproduce
  1. Open a PR whose head commit has more than 500 check runs. A monorepo with matrix workflows can produce this.
  2. Bind the PR to a Code session in the desktop app.
  3. Compare the panel total with gh api repos/<owner>/<repo>/commits/<sha>/check-runs --jq .total_count.
Error Messages/Logs

None. The panel shows a wrong count and no error.

Environment
  • Claude desktop app 5.1231.2, Code tab
  • Claude Code 2.1.321 (bundled with the app)
  • macOS 15.6.1
  • Model: Opus
  • Regression: I don't know
Dominant language
TypeScript
Stars
156k
Forks
25k
Avg merge
16h 19m
Merged PRs (30d)
5

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from anthropics/claude-code

All issues in anthropics/claude-code

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.