Skip to content

fix(incremental): disappeared chunk panic in chunks render#8492

Merged
ahabhgk merged 4 commits intomainfrom
fix-chunk-level-inc-panic
Nov 21, 2024
Merged

fix(incremental): disappeared chunk panic in chunks render#8492
ahabhgk merged 4 commits intomainfrom
fix-chunk-level-inc-panic

Conversation

@ahabhgk
Copy link
Copy Markdown
Contributor

@ahabhgk ahabhgk commented Nov 20, 2024

Summary

fix #8480

In the first compilation, splitChunks will split some chunks into multiple chunks, and we record the chunk render results for those chunks, but these split out chunks will be not reused in the second compilation (splitChunks not support incremental), so we need to cleanup those chunks' render results

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Nov 20, 2024
@netlify
Copy link
Copy Markdown

netlify bot commented Nov 20, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit ee2703c
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/673dd473859538000951e676

@github-actions github-actions bot added the release: bug fix release: bug related release(mr only) label Nov 20, 2024
@ahabhgk ahabhgk requested a review from JSerFeng November 20, 2024 12:22
@ahabhgk ahabhgk enabled auto-merge (squash) November 20, 2024 12:24
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Nov 20, 2024

CodSpeed Performance Report

Merging #8492 will not alter performance

Comparing fix-chunk-level-inc-panic (ee2703c) with main (0891a65)

Summary

✅ 1 untouched benchmarks

@ahabhgk ahabhgk merged commit cbf75a4 into main Nov 21, 2024
@ahabhgk ahabhgk deleted the fix-chunk-level-inc-panic branch November 21, 2024 03:42
@ahabhgk ahabhgk mentioned this pull request Nov 21, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: bug fix release: bug related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]:using docusaurus edit mdx or md file, process crash.

2 participants