Skip to content

Exceeding secondary rate limit when refreshing pull request list #6601

@sbouchard-spordle

Description

@sbouchard-spordle

Type: Bug

When I click on the Refresh Pull Requests List button, it loads for a couple of seconds and then I get the same error multiple times.

Here is the full error message

2025-01-20 15:29:33.273 [error] GitHubRepository+0> Fetching pull request with query failed: HttpError: You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID FADA:28D46:F0FF46:1E01F05:678EB22D.

I have exactly 6 queries (which should not be that much):

"githubPullRequests.queries": [
        {
            "label": "Assigned To Me",
            "query": "is:open assignee:${user}"
        },
        {
            "label": "Created By Me",
            "query": "is:open author:${user}"
        },
        {
            "label": "Hotfix",
            "query": "is:open label:prod-hotfix,bug-fix,stage-hotfix -assignee:${user} -author:${user} -author:XXX -author:XXX"
        },
        {
            "label": "QA Corrections",
            "query": "is:open label:\"QA Corrections\" -assignee:${user} -author:${user} -author:XXX -author:XXX"
        },
        {
            "label": "Front-end fix",
            "query": "is:open label:F/E -assignee:${user} -author:${user} -author:XXX -author:XXX"
        },
        {
            "label": "Free PR",
            "query": "is:open -assignee:${user} -author:${user} -author:XXX -author:XXX -label:stage-hotfix -label:prod-hotfix -label:\"QA Corrections\" -label:F/E"
        }
    ],

The last thing that might be relevant is that when I first open VS Code and head to the GitHub Pull Requests tab, my pull requests are loading just fine.

Extension version: 0.102.0
VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 5.15.133.1-microsoft-standard-WSL2

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions