Skip to content

[vite-plugin v1 backport] Update retained Undici consumers to 7.30.2 - #17083

Merged
petebacondarwin merged 1 commit into
codex/vite-v1-backport-16385from
codex/vite-v1-backport-17043
Nov 21, 2026
Merged

petebacondarwin merged 1 commit into
codex/vite-v1-backport-16385from
codex/vite-v1-backport-17043

Conversation

@petebacondarwin

@petebacondarwin petebacondarwin commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Backports the remaining retained-workspace part of #17043: undici and undici-types catalog pins advance unchanged to 7.30.2, with a genuinely regenerated lockfile. This updates the remote-bindings implementation bundled into v1 and the retained playground request helpers. The plugin receives a patch changeset because its bundled remote binding requests consume the fix.

The published Miniflare 5.20261118.0-beta and Wrangler 4.165.0 still pin Undici 7.30.1 internally. Their source and tests are absent on v1 and are not restored or duplicated here. Their runtime update remains assigned to existing draft #17054, which must consume the next actual compatible releases after publication. This PR does not claim to repair those installed dependency copies or prove that a particular upstream vulnerability is exercised.

Validation: pnpm install --no-frozen-lockfile, pnpm check (including build and types; 58 tasks), pnpm test:ci (8 tasks), and git diff --check pass. Original upstream dependency tests are not copied into v1; existing retained package and plugin tests cover compatibility. Stacked on #17082 with no repeated dependency pins.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because: exact upstream dependency patch validated with existing retained package tests.
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: dependency patch without API or configuration changes.

Note

This is a contribution from an AI agent: Codex.


Devin Review

@changeset-bot

changeset-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5507548

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudflare/vite-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@petebacondarwin

Copy link
Copy Markdown
Contributor Author

@petebacondarwin @edmundhung, please check this v1 backport of #17043 and approve if it looks good. You are the verified original author and latest qualifying human ant-core approver before merge.

The exact Undici 7.30.2 catalog change updates retained remote-bindings and playground helpers. Build, types, checks and existing package tests pass. The installed public Miniflare/Wrangler copies remain assigned to #17054 after publication; this PR does not duplicate their source/tests or claim those copies are fixed. Native stack #17084 is rooted at vite-plugin-v1.

@workers-devprod
workers-devprod requested review from a team and dario-piotrowicz and removed request for a team November 20, 2026 14:05
@workers-devprod

workers-devprod commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler

@devin-ai-integration devin-ai-integration Bot 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@pkg-pr-new

pkg-pr-new Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
npm i https://pkg.pr.new/@cloudflare/vite-plugin@17083

commit: 5507548

@clanky-the-clanker clanky-the-clanker Bot 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.

Superseded by the review of e500cee4.

This review, of 5bebef75

✅ Approved — A small dependency patch bump with a matching lockfile and an accurate changeset; no issues found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code Quality: ✅ LGTM

Both catalog pins and the lockfile move to 7.30.2 together. No other changes.


📝 Documentation: ✅ LGTM

The plugin changeset is a patch and accurately describes what this update covers and what it leaves out.


Reviewed commit: 5bebef75

@clanky-the-clanker clanky-the-clanker Bot 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.

Superseded by the review of 55075485.

This review, of e500cee4

✅ Approved — This is a small dependency patch bump. The catalog pins, the lockfile and the changeset all match, and the new Windows-only test setup is correct and limited to win32. No issues found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code Quality: ✅ LGTM

The undici and undici-types catalog pins and their lockfile entries move from 7.30.1 to 7.30.2 together.

The new beforeEach in import-lifetime.spec.ts runs only on win32. It runs after runInTempDir() sets up the temporary directory, then resolves the working directory with fs.realpath from node:fs/promises, which expands Windows 8.3 short names. The existing afterEach call to vi.unstubAllEnvs() removes the PWD stub afterwards.


📝 Documentation: ✅ LGTM

The plugin changeset is a patch. It accurately describes what this update covers and what it leaves out.


Reviewed commit: e500cee4

@workers-devprod workers-devprod 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.

Codeowners reviews satisfied

@petebacondarwin
petebacondarwin force-pushed the codex/vite-v1-backport-17043 branch from e500cee to 5507548 Compare November 21, 2026 12:34

@clanky-the-clanker clanky-the-clanker Bot 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.

✅ Approved — Small dependency patch bump. The undici and undici-types catalog pins, the lockfile entries and the patch changeset all agree. No issues found.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code Quality: ✅ LGTM

The undici and undici-types catalog pins, the @types/node>undici-types override and the lockfile entries all move from 7.30.1 to 7.30.2 together. The lockfile includes new undici@7.30.2 package and snapshot entries.

The remaining undici@7.30.1 references in the lockfile come in transitively through the pinned Miniflare and Wrangler releases. As the description says, updating those is left to #17054.


📝 Documentation: ✅ LGTM

The plugin changeset is a patch. It accurately describes what this update covers and what it leaves out.


Reviewed commit: 55075485

@petebacondarwin
petebacondarwin merged commit ce239be into vite-plugin-v1 Nov 21, 2026
25 of 42 checks passed
@petebacondarwin
petebacondarwin deleted the codex/vite-v1-backport-17043 branch November 21, 2026 22:15
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