[BUG] Desktop PR panel counts at most 500 CI checks; checks past 500 are not shown
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
- Domain
- developer-experience
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
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
- Open a PR whose head commit has more than 500 check runs. A monorepo with matrix workflows can produce this.
- Bind the PR to a Code session in the desktop app.
- 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
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from anthropics/claude-code
-
area:hooks area:plugins bug has repro platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anthropics/claude-code#111771 ·
-
area:docs bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anthropics/claude-code#111658 ·
-
area:core bug platform:linux platform:wsl regression
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
anthropics/claude-code#111548 ·
-
area:vscode bug has repro platform:vscode platform:windows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
anthropics/claude-code#111416 ·
-
area:plugins area:tui bug platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
anthropics/claude-code#111195 ·
All issues in anthropics/claude-code
Similar issues
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
drydocs/meridian#1503 · 1 comment ·
Maintainers usually reply within 2 days
-
refactor review: high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
1lck/Lithe-IDEA#2376 ·
Maintainers usually reply within 1 day
-
bug extension mcp
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
primer/primitives#1426 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
danielmiessler/LifeOS#2941 ·
Maintainers usually reply within 4 days