Skip to content

[deps] Remove rolldown-plugin-dts patch after upstream release - #17336

Merged
petebacondarwin merged 5 commits into
mainfrom
codex/remove-rolldown-dts-patch
Dec 4, 2026
Merged

petebacondarwin merged 5 commits into
mainfrom
codex/remove-rolldown-dts-patch

Conversation

@petebacondarwin

@petebacondarwin petebacondarwin commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Refs sxzz/rolldown-plugin-dts#371.

Remove the local declaration helper patch now that the upstream fix is available in rolldown-plugin-dts v0.30.3. Upgrade the shared tsdown catalog entry from 0.22.14 to 0.23.8, which also upgrades Rolldown across the 19 packages using that catalog entry and picks up the declaration fix without an override. Regenerate the lockfile with the existing 24-hour cooldown enabled.

Set dts.dtsOnly in dev-helpers so the declaration pass cannot overwrite the Pages assets runtime bundle. Replace Node.js 25 with Node.js 26 in the compatibility CI matrix and exclude Node.js 25 from the workspace engine range. The default development runtime remains Node.js 22.

Verification

  • pnpm install --frozen-lockfile passed under the normal release-age policy. The targeted Wrangler, dev-helpers, and Vitest plugin builds and the dev-helpers type check and tests also passed locally.
  • Wrangler Linux E2E rebuilt the CommonJS wrangler-dist/cli.js bundle from scratch and passed. All Wrangler E2E shards passed on Linux, macOS, and Windows.
  • Linux integration CI ran and passed the Vitest plugin’s installed-package test (test/package.test.ts) and Pages assets integration test (test/pages.test.ts).
  • Node.js 26 compatibility CI reported success, but the test steps were skipped under the existing opt-in policy. Add ci:test-all-node-versions to run that coverage before merging.

  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because: the existing Wrangler E2E and Vitest plugin integration suites cover the affected build outputs; verification and the Node.js 26 follow-up are listed above.
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: this changes internal build dependencies and repository tooling, not published package requirements.

Note

This is a contribution from an AI agent: Codex, GPT-6.


Devin Review

@changeset-bot

changeset-bot Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a1ad648

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

@github-project-automation github-project-automation Bot moved this to Untriaged in workers-sdk Dec 2, 2026
@workers-devprod
workers-devprod requested review from a team and jamesopstad and removed request for a team December 2, 2026 09:00
@workers-devprod

workers-devprod commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • ✅ @cloudflare/wrangler
Show detailed file reviewers

@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 — No issues found. The patch removal, the tsdown 0.23.8 upgrade, the dev-helpers dtsOnly switch and the move from Node 25 to Node 26 in the engines range and CI matrix are consistent with each other and with the lockfile.

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


✅ All checks passed

🔒 Security: ✅ LGTM

This pull request only changes build-time dependencies, build configuration and the CI Node matrix. It does not touch runtime code.


📖 AGENTS.md: ✅ LGTM

No AGENTS.md impact.


📋 Code Quality: ✅ LGTM

  • The patch file and its patchedDependencies entry are removed together. The lockfile now has only rolldown-plugin-dts@0.30.3.
  • packages/dev-helpers/tsdown.config.ts:37 uses dtsOnly: true in place of the deprecated emitDtsOnly. resolver: "tsc" is unchanged.
  • The root package.json engines range drops Node 25, matching the engines of rolldown-plugin-dts@0.30.3. With no engine-strict setting, a developer on Node 25 gets an install warning, not a failure.
  • In .github/workflows/test-and-check-other-node.yml, Node 26 replaces Node 25 and the entry keeps expected_to_fail: true.

📝 Documentation: ✅ LGTM

No documentation impact.


Reviewed commit: a1ad648c

devin-ai-integration[bot]

This comment was marked as resolved.

@pkg-pr-new

pkg-pr-new Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@17336

@cloudflare/build-output-utils

npm i https://pkg.pr.new/@cloudflare/build-output-utils@17336

@cloudflare/cli-shared-helpers

npm i https://pkg.pr.new/@cloudflare/cli-shared-helpers@17336

@cloudflare/codemods

npm i https://pkg.pr.new/@cloudflare/codemods@17336

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@17336

@cloudflare/containers-shared

npm i https://pkg.pr.new/@cloudflare/containers-shared@17336

create-cloudflare

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

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@17336

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-functions

npm i https://pkg.pr.new/@cloudflare/pages-functions@17336

@cloudflare/pages-shared

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

@cloudflare/runtime-types

npm i https://pkg.pr.new/@cloudflare/runtime-types@17336

@cloudflare/test-server

npm i https://pkg.pr.new/@cloudflare/test-server@17336

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-plugin

npm i https://pkg.pr.new/@cloudflare/vitest-plugin@17336

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@17336

@cloudflare/workers-editor-shared

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

@cloudflare/workers-utils

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

wrangler

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

commit: a1ad648

@ask-bonk

ask-bonk Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

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

@jamesopstad jamesopstad 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 think we need to delay merging this until it meets the 24-hour minimumReleaseAge.

As a follow-up, could we upgrade tsdown to 0.23.8 and drop this override? 0.23.8 already depends on rolldown-plugin-dts@^0.30.3, so the override wouldn't be needed. The upgrade would also clear the new emitDtsOnly deprecation warning in the wrangler build, and switching dev-helpers to dtsOnly: true clears the other one.

@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 marked this pull request as draft December 2, 2026 14:12
devin-ai-integration[bot]

This comment was marked as resolved.

@petebacondarwin
petebacondarwin marked this pull request as ready for review December 3, 2026 16:26

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

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 new potential issues.

Devin Review

Comment thread pnpm-lock.yaml Resolved
Comment thread pnpm-lock.yaml Resolved
@petebacondarwin
petebacondarwin force-pushed the codex/remove-rolldown-dts-patch branch from a004f3c to b8fc628 Compare December 4, 2026 08:41

@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 found 1 new potential issue.

Devin Review

Comment thread package.json Resolved
@petebacondarwin petebacondarwin added ci:test-all-node-versions Run the tests on all Node versions for this PR ci:run-remote-tests Run remote/E2E tests that require Cloudflare API credentials labels Dec 4, 2026
@petebacondarwin
petebacondarwin removed the request for review from jamesopstad December 4, 2026 13:15
@petebacondarwin
petebacondarwin merged commit ef319f7 into main Dec 4, 2026
120 of 127 checks passed
@petebacondarwin
petebacondarwin deleted the codex/remove-rolldown-dts-patch branch December 4, 2026 13:15
@github-project-automation github-project-automation Bot moved this from Untriaged to Done in workers-sdk Dec 4, 2026
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 ci:run-remote-tests Run remote/E2E tests that require Cloudflare API credentials ci:test-all-node-versions Run the tests on all Node versions for this PR

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants