Skip to content

fix(rolldown_binding): make PreRenderedChunk.facadeModuleId nullable like Rollup - #10810

Merged
graphite-app[bot] merged 1 commit into
mainfrom
fix/pre-rendered-chunk-nullable-facade-module-id
Sep 2, 2026
Merged

graphite-app[bot] merged 1 commit into
mainfrom
fix/pre-rendered-chunk-nullable-facade-module-id

Conversation

@IWANABETHATGUY

Copy link
Copy Markdown
Member

RenderedChunk was not assignable to PreRenderedChunk because the generated type declared facadeModuleId?: string instead of string | null. Callbacks like chunkFileNames now receive facadeModuleId: null instead of a missing property when the chunk has no facade module, matching Rollup.

fixes #10804

@IWANABETHATGUY
IWANABETHATGUY marked this pull request as ready for review September 1, 2026 14:34
@netlify

netlify Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for rolldown-rs canceled.

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

@codspeed

codspeed Bot commented Sep 1, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 7 untouched benchmarks
⏩ 10 skipped benchmarks1


Comparing fix/pre-rendered-chunk-nullable-facade-module-id (fc87a66) with main (4469730)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 (4e92ff3) during the generation of this report, so 4469730 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

hyfdev commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

Merge activity

…e like Rollup (#10810)

`RenderedChunk` was not assignable to `PreRenderedChunk` because the generated type declared `facadeModuleId?: string` instead of `string | null`. Callbacks like `chunkFileNames` now receive `facadeModuleId: null` instead of a missing property when the chunk has no facade module, matching Rollup.

fixes #10804
@graphite-app
graphite-app Bot force-pushed the fix/pre-rendered-chunk-nullable-facade-module-id branch from fc87a66 to a03ca5f Compare September 2, 2026 02:35
@graphite-app
graphite-app Bot merged commit a03ca5f into main Sep 2, 2026
36 checks passed
@graphite-app
graphite-app Bot deleted the fix/pre-rendered-chunk-nullable-facade-module-id branch September 2, 2026 02:42
@rolldown-guard rolldown-guard Bot mentioned this pull request Sep 2, 2026
Brooooooklyn added a commit that referenced this pull request Sep 2, 2026
Brings oxc 0.148.0, pnpm 11.24.0, the rust/npm dep updates, and the
nullable PreRenderedChunk.facadeModuleId (#10810). Conflicts were the
oxc catalog pins (kept the branch's miniflare entry, took 0.148.0) and
pnpm-lock.yaml (regenerated). All three declaration flavors rebuilt;
the branch-only wasip1 flavor picks up the nullable facadeModuleId.
Threadless memory pin holds (1027 pages >= 1025 minimum).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01T34fMrYCf2V13Mg8BKmnda
shulaoda added a commit that referenced this pull request Sep 2, 2026
## [1.2.7] - 2026-09-02

### 🐛 Bug Fixes

- rolldown_binding: make `PreRenderedChunk.facadeModuleId` nullable like Rollup (#10810) by @IWANABETHATGUY
- plugin_timings: reword the warning so it does not contradict itself (#10788) by @IWANABETHATGUY
- model a facade's host import in the fold cycle check (#10743) by @ulrichstark

### 🧪 Testing

- dev: add circular reexport test (#10563) by @sapphi-red

### ⚙️ Miscellaneous Tasks

- deps: update npm packages (#10795) by @renovate[bot]
- deps: update rust crates (#10794) by @renovate[bot]
- deps: update dependency rolldown-plugin-dts to v0.28.3 (#10805) by @renovate[bot]
- renovate: disable oxc auto-updates (#10813) by @IWANABETHATGUY
- deps: upgrade oxc to 0.148.0 (#10809) by @camc314
- deps: update pnpm to v11.24.0 (#10803) by @renovate[bot]
- deps: update crate-ci/typos action to v1.50.0 (#10806) by @renovate[bot]
- deps: update test262 submodule for tests (#10808) by @rolldown-guard[bot]
- deps: update rollup submodule for tests to v4.63.1 (#10807) by @rolldown-guard[bot]
- deps: update crate-ci/typos action to v1.49.1 (#10796) by @renovate[bot]
- deps: update github actions (#10749) by @renovate[bot]

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

This branch was previously deployed

1 inactive deployment
void — a03ca5f7 Deployed Sep 2, 2026 by graphite-app[bot] via Deploy to Void #4232
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.

[Bug]: in type declarations, RenderedChunk is not assignable to PreRenderedChunk

2 participants