Repository navigation
[vite-plugin v1 backport] Update retained Undici consumers to 7.30.2 - #17083
Conversation
🦋 Changeset detectedLatest commit: 5507548 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 @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. |
|
Codeowners approval required for this PR:
|
commit: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
e500cee to
5507548
Compare
There was a problem hiding this comment.
✅ 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
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.
Note
This is a contribution from an AI agent: Codex.