← Back to Pull requests

[vite-plugin v1 backport] Update November 29 runtime #17293

Open
petebacondarwin opened this pull request with 472 lines diff across 11 files
View on GitHub
petebacondarwin petebacondarwin commented on Nov 30, 2026 16:15 UTC
Author

Backports #17284 and the compatible published runtime graph from #17276 onto #17171 for Vite plugin v1. Projects without a compatibility date now default to November 29, 2026.

The release is now published and the real pnpm lockfile has been regenerated. Exact pins: Miniflare 5.20261129.0-beta; Wrangler 4.170.0 (also the new peer minimum); workers-utils 0.60.0; workers-auth 0.19.2; containers-shared 0.28.2; deploy-helpers 0.32.1; cli-shared-helpers 0.4.1; Workers types 5.20261129.1. The final release uses workers-utils 0.60.0 rather than the unpublished 0.59.1 originally staged here. Private support/config packages retain workspace:* references, and the standalone remote-bindings fixture follows the plugin runtime pin.

This also supplies #17217's removed type/zone_id configuration warnings through the public workers-utils/Wrangler implementations. The image runtime from #16678 is included in these dependencies; its remaining Vite integration and playground coverage are supplied by #17315. The retained remote-bindings source fix from #17211 is not supplied by a public dependency upgrade and is pending guidance on v1's different credential-change detection.

The original zero-config regression expects 2026-11-29: on the prior published graph it failed with 2026-11-27, and it passes on this graph. The runtime changeset preserves the earlier Artifacts fix while consolidating the default-date note and explicitly documenting the new Wrangler minimum.

Validation (Node 22.22.1 / pnpm 10.33.0): installation and frozen installation, build (3 tasks), full pnpm check (58 tasks), full pnpm test:ci (8 tasks, including 287 plugin tests) pass. All retained fixtures pass (6 tasks: 30 dev-registry tests, 5 harness tests and 2 Playwright tests). Current-head GitHub OS/Vite/E2E checks are in progress. This PR stays draft until the documented validation is complete; publication is no longer a blocker. No required checks are bypassed. Native stack #17294 remains rooted at vite-plugin-v1 with #17171 first; the parent has not merged and lacks human approval.

---

  • Tests

  • - [x] 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):
    - [x] Documentation not necessary because: runtime refresh with regression coverage and a release note.

    [!NOTE]

    This is a contribution from an AI agent: Codex.

    Diff: 472 lines (+236 / -236) across 11 files Reviewer: petebacondarwin Review duration: 2281m
    All Vouch review confidence checks passed
    Residual risk 0.11 = Change Risk (0.69) × (1 − Review Confidence (0.83)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.69 · 472 lines diff across 11 files
    0.69
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.90 · 5 substantive comment(s)
    0.90
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    83%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.368
    Self Review self_review
    0.140
    Real PR Conversation Timeline
    14 items
    changeset-bot[bot] changeset-bot[bot] commented on Nov 30, 2026 16:15 UTC
    Bot

    🦋 Changeset detected

    Latest commit: e04d81d42ef1a329bb8d0aeaf94fdf164776ead9

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

    <details><summary>This PR includes changesets to release 1 package</summary>

    | Name | Type |
    | ----------------------- | ----- |
    | @cloudflare/vite-plugin | Patch |

    </details>

    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 petebacondarwin commented on Nov 30, 2026 16:17 UTC
    Author

    <!-- vite-plugin-v1-backport-review-request:original=17284 -->

    Carrying forward the existing original-specific request for #17284 to this separate backport, without another mention/ping: petebacondarwin, please check the v1 adaptation and approve if it looks good once the remaining CI validation is complete. You are the verified latest human ant-core approver before the original merged. The original author, dependabot[bot], is automated; no human author is being substituted.

    V1 consumes the public runtime/config implementation through exact Miniflare, Wrangler, workers-utils and matching support-package pins. The zero-config regression expects November 29; the consolidated changeset preserves the earlier Artifacts fix without conflicting default-date notes. This draft is stacked above #17171. #17276 is now published, the real lockfile is regenerated using its final workers-utils 0.60.0 graph, and frozen install, build, full checks, full package tests and retained fixtures pass. It remains draft while current-head OS/Vite/E2E CI runs. The separate original-specific requests for #17276 and #17217 describe their dependency coverage.

    devin-ai-integration[bot] devin-ai-integration[bot] commented on code on Nov 30, 2026 16:17 UTC
    Code Review
    packages/vite-plugin-cloudflare/package.json:1
    @@ -46,19 +46,19 @@
     	},
     	"dependencies": {
     		"@cloudflare/unenv-preset": "2.16.2",
    -		"miniflare": "5.20261127.1-beta",
    +		"miniflare": "5.20261129.0-beta",

    <!-- devin-review-comment {"id": "ANALYSIS_pr-review-job-cd060e3fb961412695d66006112997ce_0001", "file_path": "packages/vite-plugin-cloudflare/package.json", "start_line": 49, "end_line": 49, "side": "RIGHT", "kind": "analysis"} -->

    🔍 Frozen installs block runtime validation

    The lockfile still pins the November 27 runtime. Even after publication, CI’s frozen install blocks validation until the lockfile is regenerated.

    <!-- devin-review-badge-begin -->
    <a href="https://cloudflare.devinenterprise.com/review/cloudflare/workers-sdk/pull/17293" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
    <!-- devin-review-badge-end -->

    ---
    Was this helpful? React with 👍 or 👎 to provide feedback.

    devin-ai-integration[bot] devin-ai-integration[bot] commented on code on Nov 30, 2026 16:17 UTC
    Code Review
    .changeset/november-29-runtime-v1.md:1
    @@ -2,6 +2,6 @@
     "@cloudflare/vite-plugin": patch
     ---
     
    -Update the local runtime to the November 27 release
    +Update the local runtime to the November 29 release
     
    -Update Miniflare to 5.20261127.1-beta and Wrangler to 4.169.1. Projects without an explicit compatibility date default to November 27, 2026. Local Artifacts keeps its Git port reserved during startup and stable across configuration reloads, avoiding intermittent address-in-use failures.
    +Update Miniflare to 5.20261129.0-beta and Wrangler to 4.170.0. Projects without an explicit compatibility date default to November 29, 2026. Local Artifacts keeps its Git port reserved during startup and stable across configuration reloads, avoiding intermittent address-in-use failures.

    <!-- devin-review-comment {"id": "ANALYSIS_pr-review-job-cd060e3fb961412695d66006112997ce_0002", "file_path": ".changeset/november-29-runtime-v1.md", "start_line": 7, "end_line": 7, "side": "RIGHT", "kind": "analysis"} -->

    🔍 Undocumented Wrangler minimum increase

    The release note lists Wrangler 4.170.0 but does not identify it as the new minimum. assertWranglerVersion rejects Wrangler 4.169.1 if the plugin resolves it at startup.

    <!-- devin-review-badge-begin -->
    <a href="https://cloudflare.devinenterprise.com/review/cloudflare/workers-sdk/pull/17293" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
    <!-- devin-review-badge-end -->

    ---
    Was this helpful? React with 👍 or 👎 to provide feedback.

    devin-ai-integration[bot] devin-ai-integration[bot] commented on Nov 30, 2026 16:17 UTC
    Reviewer

    [!NOTE]

    Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.

    Devin Review found 2 potential issues.

    <!-- devin-review-badge-begin -->
    <a href="https://cloudflare.devinenterprise.com/review/cloudflare/workers-sdk/pull/17293" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
    <!-- devin-review-badge-end -->

    pkg-pr-new[bot] pkg-pr-new[bot] commented on Dec 01, 2026 14:02 UTC
    Bot

      npm i https://pkg.pr.new/@cloudflare/vite-plugin@17293
      

    _commit: <a href="https://github.com/cloudflare/workers-sdk/runs/142696634250"><code>e04d81d</code></a>_

    petebacondarwin petebacondarwin commented on code on Dec 01, 2026 14:02 UTC
    Code Review
    packages/vite-plugin-cloudflare/package.json:1
    @@ -46,19 +46,19 @@
     	},
     	"dependencies": {
     		"@cloudflare/unenv-preset": "2.16.2",
    -		"miniflare": "5.20261127.1-beta",
    +		"miniflare": "5.20261129.0-beta",

    Fixed in e04d81d42e: #17276 has published, all retained consumers now use its actual workers-utils 0.60.0, and pnpm regenerated the lockfile from npm. Frozen install, build, all checks and the full retained package suite pass on the new graph. Current-head CI is running; the PR remains draft until validation is complete.

    petebacondarwin petebacondarwin commented on code on Dec 01, 2026 14:02 UTC
    Code Review
    .changeset/november-29-runtime-v1.md:1
    @@ -2,6 +2,6 @@
     "@cloudflare/vite-plugin": patch
     ---
     
    -Update the local runtime to the November 27 release
    +Update the local runtime to the November 29 release
     
    -Update Miniflare to 5.20261127.1-beta and Wrangler to 4.169.1. Projects without an explicit compatibility date default to November 27, 2026. Local Artifacts keeps its Git port reserved during startup and stable across configuration reloads, avoiding intermittent address-in-use failures.
    +Update Miniflare to 5.20261129.0-beta and Wrangler to 4.170.0. Projects without an explicit compatibility date default to November 29, 2026. Local Artifacts keeps its Git port reserved during startup and stable across configuration reloads, avoiding intermittent address-in-use failures.

    Fixed in e04d81d42e: the release note now explicitly requires Wrangler 4.170.0 or newer, matching the enforced peer minimum.

    petebacondarwin petebacondarwin commented on Dec 01, 2026 14:02 UTC
    Author

    <!-- vite-plugin-v1-backport-review-request:original=17276 -->

    @NuroDev — please check the v1 backport of https://github.com/cloudflare/workers-sdk/pull/17276 and approve if it looks good once validation completes.

    The original author workers-devprod is the automated release service account. You are the latest verified human ant-core approver before merge. The final published graph is pinned exactly (Miniflare 5.20261129.0-beta / Wrangler 4.170.0 / workers-utils 0.60.0); the real lockfile, frozen install, build, checks and all retained package tests pass. CI and fixture validation are still running, so this remains draft.

    petebacondarwin petebacondarwin commented on Dec 01, 2026 14:02 UTC
    Author

    <!-- vite-plugin-v1-backport-review-request:original=17217 -->

    @irvinebroque @edmundhung — please check the v1 backport of https://github.com/cloudflare/workers-sdk/pull/17217 and approve if it looks good once validation completes.

    The original implementation is consumed through the published workers-utils 0.60.0 and Wrangler 4.170.0 pins, without restoring public source or dependency tests. edmundhung is the latest verified human ant-core approver before merge. This existing upgrade supplies the warning fix; no separate one-to-one backport is needed. Runtime validation passes locally; current CI is running.

    devin-ai-integration[bot] devin-ai-integration[bot] commented on code on Dec 01, 2026 14:04 UTC
    Code Review
    pnpm-lock.yaml:1
    @@ -2064,8 +2064,8 @@ packages:
           vitest:
             optional: true
     
    -  '@cloudflare/workers-utils@0.59.0':
    -    resolution: {integrity: sha512-3H7Dp21Vok2KUI1NceDvHTgz0VtoP4o5z9miFLTVvVWyFQtINHTkXNWEouTOeNv9H+p/DmPOWpbxBY1PnwPE1Q==}
    +  '@cloudflare/workers-utils@0.60.0':
    +    resolution: {integrity: sha512-E7AmXbkvFNjFiqc/6JctU/Y8pacsAEnc/AzMMWrJfYJz61SGgzp9Q0sk06KGJFrWxifIL5afA0hRnN+1RSNB0Q==}

    <!-- devin-review-comment {"id": "ANALYSIS_pr-review-job-22c939d0984f49cebbd61ce271848a9a_0001", "file_path": "pnpm-lock.yaml", "start_line": 2067, "end_line": 2068, "side": "RIGHT", "kind": "analysis"} -->

    🔍 Publication status and lockfile disagree

    The PR description calls workers-utils unpublished and describes a November 27 lockfile. The November 29 pins and hashes match public npm metadata. That confirms publication, not a frozen install or runtime test pass.

    <!-- devin-review-badge-begin -->
    <a href="https://cloudflare.devinenterprise.com/review/cloudflare/workers-sdk/pull/17293" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
    <!-- devin-review-badge-end -->

    ---
    Was this helpful? React with 👍 or 👎 to provide feedback.

    devin-ai-integration[bot] devin-ai-integration[bot] commented on Dec 01, 2026 14:04 UTC
    Reviewer

    Devin Review found 1 new potential issue.

    <!-- devin-review-badge-begin -->
    <a href="https://cloudflare.devinenterprise.com/review/cloudflare/workers-sdk/pull/17293" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
    <!-- devin-review-badge-end -->

    petebacondarwin petebacondarwin commented on code on Dec 01, 2026 14:07 UTC
    Code Review
    pnpm-lock.yaml:1
    @@ -2064,8 +2064,8 @@ packages:
           vitest:
             optional: true
     
    -  '@cloudflare/workers-utils@0.59.0':
    -    resolution: {integrity: sha512-3H7Dp21Vok2KUI1NceDvHTgz0VtoP4o5z9miFLTVvVWyFQtINHTkXNWEouTOeNv9H+p/DmPOWpbxBY1PnwPE1Q==}
    +  '@cloudflare/workers-utils@0.60.0':
    +    resolution: {integrity: sha512-E7AmXbkvFNjFiqc/6JctU/Y8pacsAEnc/AzMMWrJfYJz61SGgzp9Q0sk06KGJFrWxifIL5afA0hRnN+1RSNB0Q==}

    The description was refreshed after publication and now describes the final published workers-utils 0.60.0 graph, real regenerated lockfile, and successful frozen install/build/full checks/package tests/retained fixtures. Current-head OS/Vite/E2E CI remains pending, so the PR is still draft. The body no longer claims an unpublished version or November 27 lockfile.

    Assignees
    petebacondarwin petebacondarwin
    Labels
    risk: low confidence: 83.4% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 68.5% (HIGH) · Higher = larger blast radius
    68.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 83.4% · Lower = rushed or shallow review
    83.4%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 11.4% · Safe to merge
    11.4%