-
Notifications
You must be signed in to change notification settings - Fork 8k
Open
Labels
blockedbugSomething isn't workingSomething isn't workinggh-prrelating to the gh pr commandrelating to the gh pr commandplatformProblems with the GitHub platform rather than the CLI clientProblems with the GitHub platform rather than the CLI clientpriority-3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic
Description
Describe the bug
When running gh pr list -s closed I am getting a 502 API response. This only is happening with a repository with 100k+ closed PRs. Adding the limit option with gh pr list -s closed -l 5 does not bypass this either.
❯ gh --version
gh version 1.14.0 (2021-08-04)Steps to reproduce the behavior
Given a Repository with a closed PR count over 100k
gh pr list -s closed- See error:
HTTP 502: (https://api.github.com/graphql)
.
Expected vs actual behavior
I should be able to see 5 closed PRs. Instead I am getting a 502
Logs
Redacted owner and repository name.
❯ gh pr list -s closed
HTTP 502: (https://api.github.com/graphql)
.
❯ gh pr list -s open
Showing 30 of 1032 open pull requests in owner/repoReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
blockedbugSomething isn't workingSomething isn't workinggh-prrelating to the gh pr commandrelating to the gh pr commandplatformProblems with the GitHub platform rather than the CLI clientProblems with the GitHub platform rather than the CLI clientpriority-3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic