Skip to content

Use more workerd native modules#11397

Merged
vicb merged 1 commit intomainfrom
vicb/native-unenv
Nov 28, 2025
Merged

Use more workerd native modules#11397
vicb merged 1 commit intomainfrom
vicb/native-unenv

Conversation

@vicb
Copy link
Contributor

@vicb vicb commented Nov 25, 2025

Node modules punycode, trace_events, cluster, wasi, and domains are no more experimental since workerd 20251122.

This PR uses workerd 20251125 as 202551122 and 202551123 have not been released to npm.

Note that remote tests are failing for now as 202551122 must not have been released to prod yet. A CI re-run should fix the error after the deployment. workerd was deployed

/cc @anonrig @jasnell


  • Tests
    • Tests included
    • Tests not necessary because:
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: documented by the runtime team
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: unenv changes not released to v3

@vicb vicb requested a review from a team as a code owner November 25, 2025 07:29
@vicb vicb requested a review from a team November 25, 2025 07:29
@changeset-bot
Copy link

changeset-bot bot commented Nov 25, 2025

🦋 Changeset detected

Latest commit: 9664384

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

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

@github-actions
Copy link
Contributor

Failed to automatically backport this PR's changes to Wrangler v3. Please manually create a PR targeting the v3-maintenance branch with your changes. Thank you for helping us keep Wrangler v3 supported!

Depending on your changes, running git rebase --onto v3-maintenance main vicb/native-unenv might be a good starting point.

Notes:

  • your PR branch should be named v3-backport-11397
  • add the skip-v3-pr label to the current PR to stop this workflow from failing

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 25, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@11397

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@11397

miniflare

npm i https://pkg.pr.new/miniflare@11397

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@11397

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@11397

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@11397

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@11397

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@11397

wrangler

npm i https://pkg.pr.new/wrangler@11397

commit: 9664384

@vicb vicb changed the title Use more workerd native modules [BLOCKED, don't trust the CI] Use more workerd native modules Nov 25, 2025
@vicb
Copy link
Contributor Author

vicb commented Nov 25, 2025

"BLOCKED, don't trust the CI" the tests are actually failing on CI because workerd is not updated in prod.

But for some reason, the status is not reported correctly :(

edit: addressed in #11399

@vicb vicb force-pushed the vicb/native-unenv branch from 32fddec to 37a8365 Compare November 25, 2025 09:09
@vicb vicb mentioned this pull request Nov 25, 2025
6 tasks
@vicb vicb changed the title [BLOCKED, don't trust the CI] Use more workerd native modules Use more workerd native modules Nov 25, 2025
@vicb vicb force-pushed the vicb/native-unenv branch 5 times, most recently from d8f69e8 to 8b868a3 Compare November 27, 2025 06:44
@vicb vicb requested a review from petebacondarwin November 27, 2025 10:56
@vicb vicb force-pushed the vicb/native-unenv branch from 8b868a3 to 7bbbcd4 Compare November 27, 2025 17:18
@vicb vicb force-pushed the vicb/native-unenv branch from 7bbbcd4 to e09e223 Compare November 28, 2025 08:19
@vicb vicb force-pushed the vicb/native-unenv branch from e09e223 to 9664384 Compare November 28, 2025 08:50
@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Nov 28, 2025
@vicb vicb merged commit b154de2 into main Nov 28, 2025
41 of 44 checks passed
@vicb vicb deleted the vicb/native-unenv branch November 28, 2025 10:37
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants