Skip to content

Conversation

@salmanmkc
Copy link
Contributor

  • @actions/http-client: ^5.28.5 → ^7.16.0
  • @actions/github: ^5.28.5 → ^7.16.0
  • @actions/attest: ^6.20.0 → ^7.16.0

Note: undici v7 requires Node.js 20+

- @actions/http-client: ^5.28.5 → ^7.16.0
- @actions/github: ^5.28.5 → ^7.16.0
- @actions/attest: ^6.20.0 → ^7.16.0

Note: undici v7 requires Node.js 20+
@salmanmkc salmanmkc requested a review from a team as a code owner December 10, 2025 23:38
Copilot AI review requested due to automatic review settings December 10, 2025 23:38
@salmanmkc salmanmkc requested a review from a team as a code owner December 10, 2025 23:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the undici dependency from version 5.x and 6.x to ^7.16.0 across three packages in the toolkit repository. The undici v7 upgrade is a breaking change that requires Node.js 20.18.1 or higher, aligning with the repository's documented Node.js 20+ support requirement.

Key Changes:

  • Bumps undici from ^5.28.5 to ^7.16.0 in http-client and github packages
  • Bumps undici from ^6.20.0 to ^7.16.0 in attest package
  • Removes @fastify/busboy dependency which is no longer required by undici v7

Reviewed changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/http-client/package.json Updates undici dependency to ^7.16.0
packages/http-client/package-lock.json Updates undici lockfile entry to 7.16.0 and removes @fastify/busboy dependency
packages/github/package.json Updates undici dependency to ^7.16.0
packages/github/package-lock.json Updates undici lockfile entry to 7.16.0, adds nested undici 5.29.0 for @actions/http-client compatibility
packages/attest/package.json Updates undici dev dependency to ^7.16.0
packages/attest/package-lock.json Updates undici lockfile entry to 7.16.0 with Node.js >=20.18.1 engine requirement
Files not reviewed (3)
  • packages/attest/package-lock.json: Language not supported
  • packages/github/package-lock.json: Language not supported
  • packages/http-client/package-lock.json: Language not supported

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

"dependencies": {
"tunnel": "^0.0.6",
"undici": "^5.28.5"
"undici": "^7.16.0"
Copy link

Copilot AI Dec 10, 2025

Choose a reason for hiding this comment

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

The package should specify an "engines" field to enforce the Node.js version requirement. According to the package-lock.json, undici 7.16.0 requires Node.js >=20.18.1. Without this engines field, users could install this package on unsupported Node.js versions, leading to runtime failures. Consider adding an engines field like: "engines": {"node": ">=20.18.1"}

Copilot uses AI. Check for mistakes.
"@octokit/request": "^8.4.1",
"@octokit/request-error": "^5.1.1",
"undici": "^5.28.5"
"undici": "^7.16.0"
Copy link

Copilot AI Dec 10, 2025

Choose a reason for hiding this comment

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

The package should specify an "engines" field to enforce the Node.js version requirement. According to the package-lock.json, undici 7.16.0 requires Node.js >=20.18.1. Without this engines field, users could install this package on unsupported Node.js versions, leading to runtime failures. Consider adding an engines field like: "engines": {"node": ">=20.18.1"}

Copilot uses AI. Check for mistakes.
"@types/jsonwebtoken": "^9.0.6",
"nock": "^13.5.1",
"undici": "^6.20.0"
"undici": "^7.16.0"
Copy link

Copilot AI Dec 10, 2025

Choose a reason for hiding this comment

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

The package should specify an "engines" field to enforce the Node.js version requirement. According to the package-lock.json, undici 7.16.0 requires Node.js >=20.18.1. Without this engines field, users could install this package on unsupported Node.js versions, leading to runtime failures. Consider adding an engines field like: "engines": {"node": ">=20.18.1"}

Copilot uses AI. Check for mistakes.
@salmanmkc salmanmkc marked this pull request as draft December 11, 2025 09:35
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.

2 participants