Skip to content

Bump undici override to the latest 7.x version - #4268

Merged
mbg merged 3 commits into
mainfrom
mbg/deps/undici-7
Oct 27, 2026
Merged

mbg merged 3 commits into
mainfrom
mbg/deps/undici-7

Conversation

@mbg

@mbg mbg commented Oct 26, 2026

Copy link
Copy Markdown
Member

Updates undici to a newer version, including the override. We have at least one dependency that is lagging behind with a 5.x requirement on undici that we can't shed.

@github-actions github-actions Bot added the size/XS Should be very easy to review label Oct 26, 2026
@mbg
mbg marked this pull request as ready for review October 27, 2026 12:07
@mbg
mbg requested a review from a team as a code owner October 27, 2026 12:07
Copilot AI max review requested due to automatic review settings October 27, 2026 12:07
Comment thread package-lock.json
"license": "MIT",
"engines": {
"node": ">=18.17"
"node": ">=20.18.1"

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.

Did you check that the >=20.18.1 Node version aligns with the runner versions we support (those shipped with the GHES versions we support)?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The oldest GHES we support is now 3.19 which ships with 20.19.4 so I think this is fine. (For the record, 3.18 before that shipped with 20.19.1 which would also have been fine).

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.

🔵 Needs a closer look

The global override forces Undici 7 onto consumers declaring 5.x or 6.x requirements, and compatibility remains unverified.

No open issues 🎉

1 file not reviewed
What changed in this PR

Updates the CodeQL Action’s Undici dependency and global override, while shifting future Undici updates to manual maintenance.

Changes:

  • Upgrades Undici from 6.28.0 to 7.30.1 and updates the lockfile.
  • Adds a Dependabot ignore rule for Undici versions >=7.30.1, with comments explaining manual updates.
File Description
package.json Updates the direct Undici dependency and global override.
package-lock.json Records Undici 7.30.1 and its higher minimum Node.js requirement.
.github/​dependabot.yml Adds and documents the Undici update exclusion.

Review effort: Max

@mbg
mbg added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit c9d4295 Oct 27, 2026
229 checks passed
@mbg
mbg deleted the mbg/deps/undici-7 branch October 27, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Should be very easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants