You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The npm-minor Dependabot group (#9657) bumped vite 8.0.16 → 8.1.5 (rolldown 1.0.3 → 1.1.5). The new bundler emits a broken mui/@emotion chunk under our custom chunk split: the deployed app died at chunk init (TypeError: t is not a function at mui-*.js:1:54) into a blank page, while every HTTP probe stayed 200 and all CI stayed green — the jsdom test suite never executes the built bundle. Fixed by pinning vite back in #9670.
Conclusion: upstream rolldown 1.1.5 codegen bug affecting any custom chunk split over our @mui/@emotion/react graph — not specific to the legacy manualChunks compat path.
.github/dependabot.yml: vite ignored for patch/minor/major — fully frozen
Tasks
CI bundle smoke gate: after yarn build, load the dist output in a headless browser (playwright) and assert the app mounts with zero console errors. This is the structural fix — any future bundler regression turns CI red instead of shipping a blank page. Add to CI: Tests (or a dedicated job) on app/ changes.
Upstream: file a minimal repro against rolldown (or rolldown-vite) — chunk-init TypeError: t is not a function when @mui/* + @emotion/* are grouped into one chunk via manualChunks/advancedChunks, rolldown 1.1.5. Link the issue here; watch releases.
vite unpinned and following Dependabot again, custom chunk split restored, CI smoke gate proven to catch a broken bundle (test it once against 8.1.5 before unfreezing).
Activity