Skip to content

[vite-plugin v1 backport] Fix plugin E2E type errors - #17051

Merged
petebacondarwin merged 1 commit into
codex/vite-v1-backport-14578from
codex/vite-v1-backport-17046
Nov 20, 2026
Merged

petebacondarwin merged 1 commit into
codex/vite-v1-backport-14578from
codex/vite-v1-backport-17046

Conversation

@petebacondarwin

@petebacondarwin petebacondarwin commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Backports the two retained plugin E2E type fixes from #17046 unchanged: assert that the response reader exists before reading, and allow runCommand's cwd to be omitted as its callers already do. The original's other packages are absent public siblings or outside the maintained v1 workspace and are not restored. No runtime feature or unrelated test fix is included.

A strict TypeScript check using the bundler module resolver, resolveJsonModule and the existing E2E global setup reproduces exactly the original reader-possibly-undefined and optional-cwd diagnostics before this patch; the same command passes after it. pnpm check also passes (including build, types, lint and format). The predecessor build backport's pnpm test:ci passed all eight tasks. The package-manager E2E suite itself was not run; these edits are type-only.

Stacked in native stack #17050 rooted at vite-plugin-v1. Earlier #17012 supplies runtime dependencies; this PR does not repeat or revert those pins.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because: type-only changes to retained E2E tests; no user-facing package behavior changes
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: type-only changes to retained E2E tests; no user-facing package behavior changes

Note

This is a contribution from an AI agent: Codex.


Devin Review

@petebacondarwin petebacondarwin added the ci:no-changeset-required Skip pull request checks for a valid changeset label Nov 19, 2026
@changeset-bot

changeset-bot Bot commented Nov 19, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a766c84

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@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

@workers-devprod
workers-devprod requested review from a team and edmundhung and removed request for a team November 19, 2026 14:30
@workers-devprod

workers-devprod commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler

@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 type-only change to E2E tests with no runtime impact; no findings.

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


✅ All checks passed

📋 Code reviewer: ✅ LGTM

No issues found.


Reviewed commit: a766c840

@pkg-pr-new

pkg-pr-new Bot commented Nov 19, 2026

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

commit: a766c84

@petebacondarwin

Copy link
Copy Markdown
Contributor Author

@camc314 (verified original author), please check this v1 backport of #17046 and approve if it looks good.

The two retained plugin E2E type fixes are unchanged, with both original diagnostics reproduced before and absent after. Other packages are not restored. No qualifying human ant-core approval was found: james-elicx approved the original but is not in the current ant-core membership. Only the verified original author is requested.

Native stack #17050 is rooted at vite-plugin-v1.

@camc314 camc314 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.

✅ I can't press the actual approve but changes LGTM

@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 merged commit 9578a38 into vite-plugin-v1 Nov 20, 2026
31 of 32 checks passed
@petebacondarwin
petebacondarwin deleted the codex/vite-v1-backport-17046 branch November 20, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:no-changeset-required Skip pull request checks for a valid changeset

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants