Skip to content

Conversation

@jerrykingxyz
Copy link
Contributor

Context

  • cold start make_artifact will contains all of modules in built_modules, and incremental rebuilds using "built_modules" in other stages are no different from full builds
  • hot start make_artifact will constains updated modules in built_modules only, and the incremental rebuilds will be panic.

Summary

The hot start will recovery make_artifact but other stage artifact will be empty, so that the incremental rebuild will be panic because of lose previous artifact data.

For incremental rebuild should be compatible with empty artifact. It should fully rebuild when receiving an empty artifact.

Checklist

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

@jerrykingxyz jerrykingxyz requested a review from ahabhgk December 18, 2024 03:33
@github-actions github-actions bot added the release: bug fix release: bug related release(mr only) label Dec 18, 2024
@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Dec 18, 2024
@netlify
Copy link

netlify bot commented Dec 18, 2024

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit c94fd9b
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/6762429d8c4aca00082a6228
😎 Deploy Preview https://deploy-preview-8758--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jerrykingxyz jerrykingxyz changed the title fix: incremental stage are compatible with empty artifact fix: incremental rebuild are compatible with empty artifact Dec 18, 2024
@ahabhgk ahabhgk merged commit 962808e into main Dec 18, 2024
39 checks passed
@ahabhgk ahabhgk deleted the jerry/fix branch December 18, 2024 05:33
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.

3 participants