Skip to content

feat: label code-splitting timing rows - #10896

Merged
IWANABETHATGUY merged 1 commit into
feat/bundler-timings-group-fallback-namefrom
feat/bundler-timings-group-labels
Sep 17, 2026
Merged

IWANABETHATGUY merged 1 commit into
feat/bundler-timings-group-fallback-namefrom
feat/bundler-timings-group-labels

Conversation

@IWANABETHATGUY

@IWANABETHATGUY IWANABETHATGUY commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

A code-splitting group whose name is a function has no label for the timing report, so this adds codeSplitting.groups[].debugName and warns when it is missing.

#10903 falls back to the group's position, which is enough for a config you wrote yourself. But a plugin can rewrite options.codeSplitting in its outputOptions hook, and the rows are numbered after that runs, so groups[1] no longer means the second group in your vite.config.js. debugName gives the row a string you can grep for.

refs #10903
refs #10840

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://feat-bundler-timings-group-labels-rolldown-rs.voidzero-docs.workers.dev (commit fb831be)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://bb85ab2a-rolldown-rs.voidzero-docs.workers.dev fb831be 2026-09-17T06:39:25.344Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://9ce6e1a1-rolldown-rs.voidzero-docs.workers.dev 3d73396 2026-09-17T04:04:23.548Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://9d9075ec-rolldown-rs.voidzero-docs.workers.dev 54284f1 2026-09-17T03:43:56.490Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://db071b3f-rolldown-rs.voidzero-docs.workers.dev 59ec4e1 2026-09-17T03:05:51.568Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://609a9051-rolldown-rs.voidzero-docs.workers.dev 8fda206 2026-09-16T17:19:14.322Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://d291bf1d-rolldown-rs.voidzero-docs.workers.dev 90a9c3e 2026-09-16T16:16:59.489Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://0c0423e3-rolldown-rs.voidzero-docs.workers.dev d275f64 2026-09-16T09:29:18.147Z Visit the dashboard ↗

@netlify

netlify Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit fb831be
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6aab8a6ad175250008d2f795
😎 Deploy Preview https://deploy-preview-10896--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.

@IWANABETHATGUY
IWANABETHATGUY force-pushed the feat/bundler-timings-group-labels branch from d275f64 to 90a9c3e Compare September 16, 2026 16:14
@IWANABETHATGUY
IWANABETHATGUY force-pushed the feat/bundler-timings-group-labels branch 2 times, most recently from 8fda206 to 59ec4e1 Compare September 17, 2026 03:03
@IWANABETHATGUY
IWANABETHATGUY force-pushed the feat/bundler-timings-group-labels branch from 59ec4e1 to 54284f1 Compare September 17, 2026 03:41
@IWANABETHATGUY
IWANABETHATGUY removed this pull request from stack #10891 September 17, 2026 03:43
@IWANABETHATGUY
IWANABETHATGUY changed the base branch from feat/bundler-timings-group-identities to feat/bundler-timings-group-fallback-name September 17, 2026 03:43
@IWANABETHATGUY
IWANABETHATGUY force-pushed the feat/bundler-timings-group-labels branch from 54284f1 to 3d73396 Compare September 17, 2026 04:01
@IWANABETHATGUY
IWANABETHATGUY marked this pull request as ready for review September 17, 2026 06:35
@IWANABETHATGUY
IWANABETHATGUY force-pushed the feat/bundler-timings-group-labels branch from 3d73396 to fb831be Compare September 17, 2026 06:36
@codspeed

codspeed Bot commented Sep 17, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 7 untouched benchmarks
⏩ 10 skipped benchmarks1


Comparing feat/bundler-timings-group-labels (fb831be) with main (2bdba29)2

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

  2. No successful run was found on feat/bundler-timings-group-fallback-name (ea1053a) during the generation of this report, so main (2bdba29) was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@IWANABETHATGUY
IWANABETHATGUY merged commit a42049b into main Sep 17, 2026
54 of 65 checks passed
@IWANABETHATGUY
IWANABETHATGUY deleted the feat/bundler-timings-group-labels branch September 17, 2026 06:54
@rolldown-guard rolldown-guard Bot mentioned this pull request Sep 23, 2026
shulaoda added a commit that referenced this pull request Sep 23, 2026
## [1.2.10] - 2026-09-23

### 🚀 Features

- rolldown_plugin_esm_external_require: prefer 'module.exports' over a namespace spread (#10901) by @isker
- watch: support directories in addWatchFile (#10944) by @shulaoda
- label code-splitting timing rows (#10896) by @IWANABETHATGUY
- separate code-splitting group timing rows (#10892) by @IWANABETHATGUY
- clarify callback owners in the timing report (#10890) by @IWANABETHATGUY
- add checks.bundlerTimings with deprecated pluginTimings alias (#10883) by @IWANABETHATGUY

### 🐛 Bug Fixes

- code-splitting: initialize leaves behind a re-exported namespace import (#10694) by @hyfdev
- node: record the WASI target on the WebContainer binding fallback (#10952) by @shulaoda
- dev: force incremental build on in DevEngine::new (#10958) by @o-alexandrov
- tree-shaking: propagate side effects through cycles (#10893) by @IWANABETHATGUY
- deconflict CJS locals that shadow a renamed require wrapper (#10793) by @logaretm
- include group indexes in labeled `codeSplitting` timing rows (#10916) by @IWANABETHATGUY
- docs: type-check Algolia `indices` option (#10934) by @shulaoda
- docs: restore Algolia search (#10929) by @isker
- tell code-splitting timing rows apart by position (#10903) by @IWANABETHATGUY

### 🚜 Refactor

- rolldown_fs_watcher: remove the single-path API (#10950) by @shulaoda
- dev: register watch files through FsWatcher (#10949) by @shulaoda
- watch: let FsWatcher own the watched paths (#10948) by @shulaoda
- watch: identify watch files by normalized absolute path (#10943) by @shulaoda
- plugin: build a plugin-resolved `ResolvedId` in one place (#10921) by @IWANABETHATGUY

### 📚 Documentation

- dev: add HMR design, align dev docs and engine comments (#10271) by @h-a-n-a

### ⚡ Performance

- batch `sourcemapPathTransform` calls (#10763) by @IWANABETHATGUY
- batch `sourcemapIgnoreList` calls (#10762) by @IWANABETHATGUY
- hmr: drop the unused kind argument from registerFactory (#10915) by @h-a-n-a

### 🧪 Testing

- handle Windows paths in sourcemap callback tests (#10942) by @IWANABETHATGUY

### ⚙️ Miscellaneous Tasks

- replace custom `ban-expect-assertions` JS lint with builtin `no-restricted-properties` (#10933) by @isker
- deps: update napi (#10959) by @renovate[bot]
- deps: upgrade oxc to 0.151.0 (#10939) by @camc314
- deps: update test262 submodule for tests (#10941) by @rolldown-guard[bot]
- deps: update npm packages (#10931) by @renovate[bot]
- deps: update napi (#10928) by @renovate[bot]
- deps: update dependency vite-plus to v0.3.3 (#10914) by @renovate[bot]
- deps: update rust crates (#10932) by @renovate[bot]
- deps: update github actions (#10930) by @renovate[bot]
- deps: update dependency rolldown-plugin-dts to v0.28.6 (#10924) by @renovate[bot]
- deps: update crate-ci/typos action to v1.50.2 (#10917) by @renovate[bot]
- deps: update dependency @napi-rs/cli to v3.10.4 (#10913) by @renovate[bot]
- deps: update napi (#10897) by @renovate[bot]

### ❤️ New Contributors

* @o-alexandrov made their first contribution in [#10958](#10958)

Co-authored-by: shulaoda <[email protected]>
gioboa pushed a commit to module-federation/vite that referenced this pull request Sep 28, 2026
…orts (#1359)

Rolldown 1.2.10 (rolldown/rolldown#10896) warns when a codeSplitting group's name is a function without a debugName. Set debugName on the federation name() group, only on Rolldown >= 1.2.10 since older versions reject unknown group keys.
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.

2 participants