Skip to content

[vite-plugin v1 backport] Update to the November 23 runtime - #17130

Draft
petebacondarwin wants to merge 1 commit into
codex/vite-v1-backport-17091from
codex/vite-v1-backport-17070
Draft

petebacondarwin wants to merge 1 commit into
codex/vite-v1-backport-17091from
codex/vite-v1-backport-17070

Conversation

@petebacondarwin

Copy link
Copy Markdown
Contributor

Backports #17070 to Vite plugin v1. Zero-config applications should use the November 23 default compatibility date and matching workerd runtime; local Stream bindings should expose captions.get() and the video's customerCode added by the original.

This draft consumes the original public implementations through exact package pins, rather than restoring Miniflare/workers-utils source or their tests. Miniflare is consistently set to 5.20261123.0-beta in the plugin, retained remote-bindings package, and its package-manager fixture. Wrangler advances to 4.167.0 (including the peer minimum and retained fixture consumers), workers-utils to 0.56.1, and Workers types to 5.20261123.1. These intended package versions are taken from the open Version Packages PR #17097; they must be rechecked when that release is published. Private support packages and their workspace:* references are preserved.

The plugin's existing zero-config regression now asserts the actual November 23 date, rather than comparing against the same imported default. This verifies the intended plugin behavior through its configuration API. The original Stream implementation and regression cases (uploaded caption, generated caption, missing language, video customer code) remain in the public Miniflare package; validation of those behaviors through the installed plugin remains pending publication.

Earlier November 19 runtime, canonical config imports, remote-session fixes, and authentication/CLI helper upgrades remain supplied by #17054. No earlier upgrade is reverted or repeated. This PR follows #17106 in native GitHub stack #17084 rooted at vite-plugin-v1.

Publication blocker: npm returns 404 for Miniflare 5.20261123.0-beta, Wrangler 4.167.0, and workers-utils 0.56.1. Workers types 5.20261123.1 is published. A real pnpm lockfile regeneration was attempted and stopped with ERR_PNPM_NO_MATCHING_VERSION for workers-utils. The lockfile is intentionally unchanged; this draft cannot pass frozen installation or merge yet. After publication, finish installation/lockfile generation, verify the published implementation and coupled versions, run build/types/package tests and relevant plugin integration coverage, and only then mark ready.

Validation:

  • Before changing dependency pins, the revised plugin configuration suite reproduces the regression: 35 passed, 1 expected failure (2026-11-19 received, 2026-11-23 expected).
  • Before changing dependency pins, pnpm build passes and pnpm check passes all 58 tasks (including types), with the revised test source. These results validate the installed November 19 stack, not the unpublished runtime.
  • Formatting and git diff --check pass. No target-runtime build, passing regression, full package test, or credentialed E2E result is claimed.

  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: This carries the existing runtime API and default-date behavior to the v1 maintenance branch; publication and installed-runtime validation remain blocked as described above.

Note

This is a contribution from an AI agent: OpenAI Codex.

@changeset-bot

changeset-bot Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 46cf3e8

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

@NuroDev, please check this v1 backport of #17070 and approve if it looks good. You are the latest qualifying human ant-core approver before the original merged, and current ant-core membership has been verified. The original author is dependabot[bot], so there is no human original author to request. The later human approval after merge is not substituted for the qualifying pre-merge approval.

V1 consumes the original runtime, default compatibility date, and Stream binding implementation through exact Miniflare/Wrangler/workers-utils pins, preserving private workspace packages. The plugin zero-config regression reproduces the November 19 versus November 23 date difference. Earlier November 19 runtime and remote-session coverage is supplied by #17054.

This PR remains draft: the intended November 23 Miniflare, Wrangler and workers-utils packages are unpublished, so real lockfile regeneration and installed-runtime validation are blocked. The description distinguishes passing baseline build/types/checks from the pending target-runtime checks. Native GitHub stack #17084 is rooted at vite-plugin-v1.

@petebacondarwin
petebacondarwin force-pushed the codex/vite-v1-backport-17070 branch from 61cbca5 to 46cf3e8 Compare November 23, 2026 18:42
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.

1 participant