Skip to content

Bump @octokit/plugin-throttling, plus fixes - #4485

Merged
nickrolfe merged 2 commits into
mainfrom
nickrolfe/fix-octokit-retrycount-types
Jul 29, 2026
Merged

Bump @octokit/plugin-throttling, plus fixes#4485
nickrolfe merged 2 commits into
mainfrom
nickrolfe/fix-octokit-retrycount-types

Conversation

@nickrolfe

Copy link
Copy Markdown
Contributor

#4463 plus some Copilot-generated fixes to make npm run check-types pass.

dependabot Bot and others added 2 commits July 20, 2026 06:08
Bumps [@octokit/plugin-throttling](https://github.com/octokit/plugin-throttling.js) from 9.6.0 to 11.0.3.
- [Release notes](https://github.com/octokit/plugin-throttling.js/releases)
- [Commits](octokit/plugin-throttling.js@v9.6.0...v11.0.3)

---
updated-dependencies:
- dependency-name: "@octokit/plugin-throttling"
  dependency-version: 11.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
An Octokit upgrade made retryCount a required property of
OctokitResponse, breaking check-types on test mocks. Add
retryCount: 0 to the affected RequestError response mocks.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6e6540a4-5a88-4ac5-96c9-ddb6af5996fc
Copilot AI review requested due to automatic review settings July 29, 2026 11:19
@nickrolfe
nickrolfe requested a review from a team as a code owner July 29, 2026 11:19
@nickrolfe nickrolfe changed the title Nickrolfe/fix octokit retrycount types Bump @octokit/plugin-throttling, plus fixes Jul 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Octokit throttling to v11 and aligns test mocks with updated response types.

Changes:

  • Bumps @octokit/plugin-throttling to 11.0.3.
  • Refreshes transitive Octokit dependencies.
  • Adds required retryCount fields to mocked responses.
Show a summary per file
File Description
extensions/ql-vscode/package.json Updates the throttling dependency.
extensions/ql-vscode/package-lock.json Locks compatible Octokit dependencies.
extensions/ql-vscode/test/vscode-tests/no-workspace/databases/github-databases/api.test.ts Updates mocked error responses.
extensions/ql-vscode/test/vscode-tests/activated-extension/variant-analysis/variant-analysis-monitor.test.ts Updates a mocked error response.
extensions/ql-vscode/test/unit-tests/variant-analysis/custom-errors.test.ts Updates the shared error fixture.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Files not reviewed (1)
  • extensions/ql-vscode/package-lock.json: Generated file
  • Files reviewed: 4/5 changed files
  • Comments generated: 0
  • Review effort level: Medium

@nickrolfe
nickrolfe merged commit 5a9f640 into main Jul 29, 2026
20 checks passed
@nickrolfe
nickrolfe deleted the nickrolfe/fix-octokit-retrycount-types branch July 29, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants