Skip to content

test(code-splitting): cover more re-exported namespace shapes - #11042

Merged
hyfdev merged 1 commit into
mainfrom
test/reexported-namespace-shapes
Sep 30, 2026
Merged

hyfdev merged 1 commit into
mainfrom
test/reexported-namespace-shapes

Conversation

@hyfdev

@hyfdev hyfdev commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #11037.

Add three strictExecutionOrder fixtures for a namespace re-exported behind an export * hop:

Two comments that name record_star_reexport_path as the sole recorder of retained star paths are restated; the namespace-member loop in resolve_member_expr_refs records them too.

@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://test-reexported-namespace-shapes-rolldown-rs.voidzero-docs.workers.dev (commit 5828706)

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://507dc960-rolldown-rs.voidzero-docs.workers.dev 5828706 2026-09-30T10:29:21.338Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://6ce5a407-rolldown-rs.voidzero-docs.workers.dev ed60e14 2026-09-30T08:05:32.295Z Visit the dashboard ↗

@hyfdev
hyfdev added this pull request to stack #11043 September 30, 2026 08:03
@netlify

netlify Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 5828706
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6abce3fc11d6f900082f5c17

@hyfdev
hyfdev marked this pull request as ready for review September 30, 2026 10:22
Copilot AI balanced review requested due to automatic review settings September 30, 2026 10:22

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Add three `strictExecutionOrder` fixtures for a namespace re-exported behind
an `export *` hop:

- `export_star_reexported_namespace_opaque_read`: the consumer uses the
  namespace as a value, so no member read is folded.
- `export_star_as_namespace_folded_member`: the barrel forwards the namespace
  with `export * as`, whose import record carries `IsReExportOnly`.
- `issues/11033_side_effect_free_package`: the leaves live in a package marked
  `sideEffects: false` and are built by top-level calls, so on-demand wrapping
  wraps them as well. This is the shape of the `motion` package in #11033.

Restate two comments that name `record_star_reexport_path` as the sole recorder
of retained star paths; the namespace-member loop in `resolve_member_expr_refs`
records them too.
@hyfdev
hyfdev force-pushed the test/reexported-namespace-shapes branch from ed60e14 to 5828706 Compare September 30, 2026 10:27
@codspeed

codspeed Bot commented Sep 30, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 7 untouched benchmarks
⏩ 10 skipped benchmarks1


Comparing test/reexported-namespace-shapes (5828706) with main (f87cf80)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 main (7b18bc7) during the generation of this report, so f87cf80 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@hyfdev
hyfdev merged commit c40ed4e into main Sep 30, 2026
37 checks passed
@hyfdev
hyfdev deleted the test/reexported-namespace-shapes branch September 30, 2026 10:37
@rolldown-guard rolldown-guard Bot mentioned this pull request Sep 30, 2026
shulaoda added a commit that referenced this pull request Sep 30, 2026
## [1.2.12] - 2026-09-30

### 🚀 Features

- inline common chunks containing import() and deduplicate shared code in lazy chunks (#11034) by @hyfdev
- experimental `inlineCommonChunks` support (#10899) by @hyfdev
- dev: ship imported bindings for HMR partial accept (#10856) by @h-a-n-a

### 🐛 Bug Fixes

- chunking: re-derive chunk exec orders after the runtime leaves its host chunk (#11005) by @hyfdev
- code-splitting: gate member-read init paths on the reading statement (#11039) by @hyfdev
- code-splitting: retain initialization paths through re-exported namespaces (#11037) by @hyfdev
- dev: reject non-ESM output formats in dev mode (#11038) by @h-a-n-a
- dev: align `import.meta.hot.accept` deps with Vite (#10997) by @h-a-n-a
- dev: clear the resolver cache when a file is created or deleted (#10986) by @waltuov
- error: name the resolved specifier in unresolved import diagnostics (#11014) by @linyiru
- make entries-aware chunk merging deterministic (#11002) by @hyfdev
- watch: avoid restarting macOS watcher for unchanged paths (#10992) by @sep2

### 🚜 Refactor

- dev: ship the dev runtime entry as one file (#10998) by @h-a-n-a
- binding: remove `__internalForcePanic` (#10989) by @IWANABETHATGUY

### 📚 Documentation

- fix cloudflare preview builds (#10996) by @sapphi-red
- fix build config loader warning (#10994) by @sapphi-red
- deps: use Vite 8 (#10993) by @sapphi-red

### ⚡ Performance

- dev: only ship rows with dynamic edges in registerGraph (#11019) by @h-a-n-a

### 🧪 Testing

- code-splitting: cover more re-exported namespace shapes (#11042) by @hyfdev
- webcontainer: cover the WebContainer download fallback in plain Node (#10966) by @shulaoda
- dev: pin the runtime entry file layout that Vite serves (#10983) by @h-a-n-a

### ⚙️ Miscellaneous Tasks

- pin VOID_API_URL for the docs deploy (#11041) by @shulaoda
- opt into the WebContainer smoke test for napi bumps and loader changes (#10967) by @shulaoda
- deps: upgrade oxc to 0.152.0 (#11018) by @camc314
- deps: update rust crates (#11012) by @renovate[bot]
- deps: update npm packages (#11011) by @renovate[bot]
- deps: update crate-ci/typos action to v1.50.3 (#11023) by @renovate[bot]
- deps: update test262 submodule for tests (#11022) by @rolldown-guard[bot]
- deps: update rollup submodule for tests to v4.63.5 (#11021) by @rolldown-guard[bot]
- deps: update dependency vite-plus to v1 (#11017) by @renovate[bot]
- deps: update github actions (#11010) by @renovate[bot]
- remove `CLAUDE.md` (#10925) by @iiio2
- verify release debug info by matching file IDs (#10988) by @IWANABETHATGUY
- deps: update rollup submodule for tests to v4.63.4 (#10940) by @rolldown-guard[bot]

### ❤️ New Contributors

* @waltuov made their first contribution in [#10986](#10986)
* @linyiru made their first contribution in [#11014](#11014)
* @sep2 made their first contribution in [#10992](#10992)

Co-authored-by: shulaoda <[email protected]>
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