Skip to content

Update cloudflare worker toolchain - #496

Merged
wormeyman merged 2 commits into
mainfrom
renovate/cloudflare-worker-toolchain
Oct 25, 2026
Merged

wormeyman merged 2 commits into
mainfrom
renovate/cloudflare-worker-toolchain

Conversation

@renovate

@renovate renovate Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@cloudflare/vitest-plugin (source) 1.4.4 → 1.4.7 age confidence
wrangler (source) 4.151.1 → 4.152.0 age confidence

Regenerate the worker types on this branch BEFORE merging - this PR cannot go green without it. A wrangler bump moves workerd, and wrangler types --check compares that version as well as the config hash, so types:check fails inside preview:test inside the required verify check. Run pnpm run types:sync and commit the result. That script is wrangler types && vp check --fix together, and the formatter half is not optional - a raw wrangler types buries the real one-line change in a whole-file whitespace diff (25,411 lines vs 1, measured on #169).


Release Notes

cloudflare/workers-sdk (@​cloudflare/vitest-plugin)

v1.4.7

Patch Changes

v1.4.6

Compare Source

Patch Changes
  • #​15708 3464abc Thanks @​samstarling! - Dispose Workflow step results and introspection modifiers after use

    Release RPC resources deterministically during local Workflow execution and introspection. This prevents undisposed RPC warnings and requests being cancelled after their execution context has ended. Live step results retain their original data shape, including typed-array offsets and backing buffers. Callbacks that finish after a step times out also release their results, cancelling unused streams without delaying retries.

    Disposing an introspector still aborts the instance if modifier acquisition failed, without introducing a teardown error. Non-stream results containing function-valued array properties are rejected according to the serialisable-output contract, instead of silently discarding those properties during storage normalisation.

  • #​15846 a88cac4 Thanks @​oddharsh! - Fail with an error instead of hanging when local dev requests can't work under Bun

    Bun's fetch() ignores the undici dispatcher that Miniflare routes requests through (oven-sh/bun#39247). Under Bun, createTestHarness()'s server.fetch() and server.getWorker()'s fetch(), email() and scheduled() now throw a UserError, requests to the dev server URL get a 503 naming the cause, and starting remote bindings throws a UserError. Each of these used to hang with no error. server.getWorker().getEnv() and getExport() keep working under Bun.

  • Updated dependencies [4508172, 61fc739, 3464abc, a88cac4, 262021d]:

v1.4.5

Compare Source

Patch Changes
  • #​16135 329d757 Thanks @​Zyles! - Fix test runs slowing down file after file, and stalling, with isolate: false

    With isolate: false, Vitest hands a worker's module runner to the pool again for every test file the worker runs, and the pool wrapped the runner's module fetches in one more layer each time, so imports got slower with every file until runs stalled. The pool now patches each module runner once.

  • Updated dependencies [37ab91c, 0ae7926]:

cloudflare/workers-sdk (wrangler)

v4.152.0

Minor Changes
  • #​14900 08f22d3 Thanks @​mack-erel! - Support remote Hyperdrive bindings in local development

    {
      "hyperdrive": [
        {
          "binding": "HYPERDRIVE",
          "id": "<your-hyperdrive-id>",
          "remote": true
        }
      ]
    }
  • #​16357 182d6de Thanks @​Naapperas! - Add a jurisdiction setting to Workflows

    A Workflow defined by the Worker can now set the jurisdiction that its instances run and store their data in, on either a workflows binding or a workflow export:

    {
      "workflows": [
        {
          "binding": "MY_WORKFLOW",
          "name": "my-workflow",
          "class_name": "MyWorkflow",
          "jurisdiction": "eu"
        }
      ]
    }

    The accepted values are eu, fedramp, and us. wrangler deploy and wrangler triggers deploy send the jurisdiction when they create or update the Workflow. A Workflow's jurisdiction is set when it is created and cannot be changed afterwards, so wrangler deploy and wrangler versions upload stop before uploading when an existing Workflow has a different jurisdiction from the configured one. Leaving jurisdiction out keeps the Workflow's existing jurisdiction. @cloudflare/config adds the setting to exports.workflow(), cf migrate carries it over, and wrangler workflows describe prints it. Local development ignores it.

Patch Changes
  • #​16388 80a9f96 Thanks @​DevVettel! - Print wrangler auth token --json output regardless of WRANGLER_LOG

    Previously the JSON was written through the normal log channel, so setting WRANGLER_LOG to warn, error or none made the command exit successfully with empty stdout. Tools that parse this output, such as the OpenNext Cloudflare adapter in CI, then failed to find any credentials. The JSON is now always printed, like other --json commands.

  • #​16361 2878645 Thanks @​GrosserNL! - Report the R2 bucket location returned by the API when creating a bucket

    wrangler r2 bucket create --location printed the requested location hint even when R2 ignored it. Recreating a deleted bucket name keeps the original location, so the success message could claim a placement the bucket does not have. The command now uses the location from the create response: it mentions the hint only when that location matches, and otherwise reports the location R2 actually applied.

  • Updated dependencies [08f22d3, a4eb57d]:

v4.151.3

Compare Source

Patch Changes
  • #​15611 4508172 Thanks @​taylorlee! - Allow wrangler dev to start module Workers without a default export

    Previously, wrangler dev failed to start module Workers that exported only named entrypoints, such as RPC services, unless an unused default export was added. These Workers now start normally in local development without that workaround.

  • #​16370 61fc739 Thanks @​WalshyDev! - Fetch the remote config diff from the configured compliance region

    When a Worker was last deployed from the dashboard, wrangler deploy and wrangler versions upload download its remote configuration to compare with the local one. These requests ignored the compliance_region field in the Wrangler configuration file and only honoured the CLOUDFLARE_COMPLIANCE_REGION environment variable. A FedRAMP High Worker configured through the config file would send them to api.cloudflare.com instead of api.fed.cloudflare.com, and the deploy would fail with authentication errors. They now use the same compliance region as the rest of the deploy.

  • #​15846 a88cac4 Thanks @​oddharsh! - Fail with an error instead of hanging when local dev requests can't work under Bun

    Bun's fetch() ignores the undici dispatcher that Miniflare routes requests through (oven-sh/bun#39247). Under Bun, createTestHarness()'s server.fetch() and server.getWorker()'s fetch(), email() and scheduled() now throw a UserError, requests to the dev server URL get a 503 naming the cause, and starting remote bindings throws a UserError. Each of these used to hang with no error. server.getWorker().getEnv() and getExport() keep working under Bun.

  • #​16359 262021d Thanks @​tw4! - Stop --strict deploys and version uploads from aborting when the API omits optional binding fields

    Previously, wrangler deploy --strict and wrangler versions upload --strict could report a destructive change for an unchanged configuration, for example an R2 bucket in the default jurisdiction, because a field the API left out was compared as removed. Missing and unset optional fields are now treated as equal, so these commands proceed when the local configuration matches the deployed Worker.

  • Updated dependencies [3464abc]:

v4.151.2

Compare Source

Patch Changes

Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • "on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 54e6f644-dae8-4c41-964c-3c0b26a6951a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@renovate
renovate Bot force-pushed the renovate/cloudflare-worker-toolchain branch from 12cb1d6 to fdfd9d7 Compare October 25, 2026 17:40
@claude

claude Bot commented Oct 25, 2026

Copy link
Copy Markdown

Code review

One issue found. It blocks merging.

Stale worker types. This PR only changes pnpm-lock.yaml, and the lockfile moves workerd from 1.20261012.1 to 1.20261019.1. preview-service/worker/worker-configuration.d.ts line 3 still says workerd@1.20261012.1. wrangler types --check compares that stamp, so types:check fails inside preview:test. That makes the static job, and so the required verify check, fail. The static check is red on this PR.

CLAUDE.md (wrangler bump section) says a wrangler-only bump that touches no binding still needs a regen.

Fix: run pnpm run types:sync on this branch and commit the result. It should be a one-line diff.

I checked the rest of the lockfile diff for CLAUDE.md compliance. There is no minimumReleaseAgeExclude block, and wrangler and @cloudflare/vitest-plugin moved together to 4.152.0 and 1.4.7. I did not confirm that 1.4.7 pins 4.152.0, or that the lockfile has only one wrangler copy.

🤖 Generated with Claude Code

@renovate
renovate Bot force-pushed the renovate/cloudflare-worker-toolchain branch 2 times, most recently from b9ce3d9 to 2a1905f Compare October 25, 2026 18:10
@renovate
renovate Bot force-pushed the renovate/cloudflare-worker-toolchain branch from 2a1905f to 11686c4 Compare October 25, 2026 19:39
wrangler 4.152.0 moves workerd from 1.20261012.1 to 1.20261019.1, and
`wrangler types --check` compares that version, so `types:check` failed
inside `preview:test`. Ran `pnpm run types:sync` (wrangler types plus the
formatter pass); it changed only worker-configuration.d.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M81qTt1aXVa5WKUpHb1i4z
@claude

claude Bot commented Oct 25, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Automated Renovate bump (lockfile plus regenerated worker types). The lockfile resolves a single wrangler@4.152.0 copy, as CLAUDE.md requires.

🤖 Generated with Claude Code

@wormeyman
wormeyman merged commit 562e015 into main Oct 25, 2026
16 checks passed
@wormeyman
wormeyman deleted the renovate/cloudflare-worker-toolchain branch October 25, 2026 19:56
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