Skip to content

fix(rolldown_plugin_vite_resolve): handle external require for ssr.target: 'webworker' - #11205

Merged
graphite-app[bot] merged 1 commit into
mainfrom
10-14-fix_rolldown_plugin_vite_resolve_handle_external_require_for_ssr.target_webworker_
Oct 21, 2026
Merged

graphite-app[bot] merged 1 commit into
mainfrom
10-14-fix_rolldown_plugin_vite_resolve_handle_external_require_for_ssr.target_webworker_

Conversation

@sapphi-red

@sapphi-red sapphi-red commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Member Author

How to use the Graphite Merge Queue

Add the label graphite: merge-when-ready to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@netlify

netlify Bot commented Oct 14, 2026

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit 78ed900
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6aceee7d6222969891aa206c
😎 Deploy Preview https://deploy-preview-11205--rolldown-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit fb0a8db
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6ad81b6589d3a4331babe7d5
😎 Deploy Preview https://deploy-preview-11205--rolldown-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sapphi-red
sapphi-red force-pushed the 10-14-fix_rolldown_plugin_vite_resolve_handle_external_require_for_ssr.target_webworker_ branch from dfc8a95 to f80adc1 Compare October 14, 2026 03:01
@sapphi-red
sapphi-red marked this pull request as ready for review October 14, 2026 03:11
@codspeed

codspeed Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ 4 benchmarks spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

✅ 7 untouched benchmarks
⏩ 10 skipped benchmarks1


Comparing 10-14-fix_rolldown_plugin_vite_resolve_handle_external_require_for_ssr.target_webworker_ (eec402c) with main (d226543)

Open in CodSpeed

Footnotes

  1. 10 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@sapphi-red
sapphi-red marked this pull request as draft October 14, 2026 06:35
@sapphi-red
sapphi-red marked this pull request as ready for review October 15, 2026 10:29
@sapphi-red
sapphi-red requested a review from hyfdev October 15, 2026 10:30

shulaoda commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Merge activity

  • Oct 21, 1:54 AM UTC: The merge label 'graphite: merge-when-ready' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Oct 21, 1:54 AM UTC: shulaoda added this pull request to the Graphite merge queue.
  • Oct 21, 2:00 AM UTC: Merged by the Graphite merge queue.

@graphite-app
graphite-app Bot force-pushed the 10-14-fix_rolldown_plugin_vite_resolve_handle_external_require_for_ssr.target_webworker_ branch from eec402c to fb0a8db Compare October 21, 2026 01:54
@graphite-app
graphite-app Bot merged commit fb0a8db into main Oct 21, 2026
36 of 37 checks passed
@graphite-app
graphite-app Bot deleted the 10-14-fix_rolldown_plugin_vite_resolve_handle_external_require_for_ssr.target_webworker_ branch October 21, 2026 02:00
@rolldown-guard rolldown-guard Bot mentioned this pull request Oct 21, 2026
shulaoda added a commit that referenced this pull request Oct 21, 2026
## [1.2.15] - 2026-10-21

### 🚀 Features

- rolldown_plugin_vite_resolve: add `isBundled` to pick the browser-external stub format (#11260) by @h-a-n-a
- dev: mark entry modules in the HMR module graph (#11252) by @h-a-n-a
- mark module starts with `// <id>` comments instead of `#region` pairs (#11235) by @IWANABETHATGUY

### 🐛 Bug Fixes

- plugin: stop `this.resolve` recursion between plugins with `skipSelf: true` (#11181) by @anzal1
- rolldown_plugin_vite_resolve: handle external `require` for `ssr.target: 'webworker'` (#11205) by @sapphi-red
- rolldown_plugin_vite_build_import_analysis: only wrap dynamic imports with static specifiers in __vitePreload (#10879) by @smeng9
- strict-execution-order: wrap eager modules that forward wrapped definers (#11186) by @hyfdev
- chunk-import-map: keep common chunk keys unique when enabling inline common chunks (#11230) by @hyfdev
- only register signal-exit handler when a trace subscriber is active (#11208) by @DaniilIsupov

### 🧪 Testing

- fold hand-unrolled Rust test tables (#11212) by @Brooooooklyn

### ⚙️ Miscellaneous Tasks

- deps: upgrade oxc to 0.155.0 (#11228) by @Dunqing
- rollup-tests: retriage failed tests (#11251) by @sapphi-red
- deps: update rollup submodule for tests to v4.64.12 (#11249) by @rolldown-guard[bot]
- deps: update test262 submodule for tests (#11242) by @rolldown-guard[bot]

### ❤️ New Contributors

* @anzal1 made their first contribution in [#11181](#11181)
* @smeng9 made their first contribution in [#10879](#10879)
* @DaniilIsupov made their first contribution in [#11208](#11208)

Co-authored-by: shulaoda <[email protected]>

This branch was previously deployed

1 inactive deployment
void — fb0a8db6 Deployed Oct 21, 2026 by graphite-app[bot] via Deploy to Void #5995
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.

3 participants