Skip to content

fix: introduce AsyncTask, make rebuildModule safer#9244

Merged
JSerFeng merged 1 commit intomainfrom
fix/remove-race-condition-in-unsafe-api
Feb 11, 2025
Merged

fix: introduce AsyncTask, make rebuildModule safer#9244
JSerFeng merged 1 commit intomainfrom
fix/remove-race-condition-in-unsafe-api

Conversation

@JSerFeng
Copy link
Copy Markdown
Contributor

@JSerFeng JSerFeng commented Feb 11, 2025

Summary

close #9058

Introduce AsyncTask to replace MergeCaller, which is more robust. Make rebuildModule safe to use.

ModuleExecutor's hook_after_make should be called after finish_modules done

Checklist

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

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 11, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit c757f72
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67ab313a3517eb00081ffc09

@JSerFeng JSerFeng force-pushed the fix/remove-race-condition-in-unsafe-api branch from d5d6b9d to e107d3c Compare February 11, 2025 10:57
@github-actions github-actions bot added the release: bug fix release: bug related release(mr only) label Feb 11, 2025
…order of invoking module_executor hook_after_make
@JSerFeng JSerFeng force-pushed the fix/remove-race-condition-in-unsafe-api branch from e107d3c to c757f72 Compare February 11, 2025 11:15
@JSerFeng JSerFeng changed the title fix: introduce AsyncTask to make rebuildModule safer and correct the … fix: introduce AsyncTask, make rebuildModule safer Feb 11, 2025
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Feb 11, 2025

CodSpeed Performance Report

Merging #9244 will not alter performance

Comparing fix/remove-race-condition-in-unsafe-api (c757f72) with main (c1e945f)

Summary

✅ 6 untouched benchmarks

@JSerFeng JSerFeng merged commit 4d4dddd into main Feb 11, 2025
37 checks passed
@JSerFeng JSerFeng deleted the fix/remove-race-condition-in-unsafe-api branch February 11, 2025 12:36
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)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: panic when using compilation.rebuildModule with CssExtractRspackPlugin

2 participants