-
-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: rebuild should reset module.preOrderIndex #8413
Conversation
✅ Deploy Preview for rspack canceled.
|
4eddc14
to
05dcb63
Compare
52a1a7e
to
cf7146c
Compare
there is also a similar bug with [contenthash] in ark subspace if you use content hash the hash rendered in the js files is missmatched to what stats emits and the files emitted on disk. Doesnt look related to this MR but seems to be from a similar possible cause? |
Do we have a issue about it ? Sounds like the issue of incremental rebuild |
No i don't but I'll create one. Repo is bytedance internal so I will not share url publicly but can dm over lark. It's likely the same repo that you got the oncall about for this issue |
7bc1fd0
to
730692a
Compare
Summary
close #7031
mgm.preOrderIndex is set by buildChunkGraph, which is skipped during incremental rebuild.
When enable
newIncremental.buildChunkGraph
, preOrderIndex is wrong by design, I'll refactor module.preOrderIndex soon in another PRChecklist