web-infra-dev
rspack
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(watcher): abort in-flight watch task before closing the native watcher `NativeWatcher::watch` spawns a detached task that drives the FSEvents backend's `append_path` (mutating the watcher's CFMutableArray), while `NativeWatcher::close` drops the watcher (`CFRelease` of that array). The close-old-then-watch-new restart flow runs them concurrently, freeing the CFArray while a watch task is still appending to it — a use-after-free that aborts the process on macOS (`-[OS_os_log addObject:]` NSException). Track the watch task's JoinHandle and have `close` abort and await it before tearing the watcher down; `watch` aborts any previous task so only one ever drives the watcher. Adds `rspack_napi::runtime::spawn_handle` to return the JoinHandle.
fix/native-watcher-close-race-macos
3 hours ago
fix: consume aggregated native watcher changes
codex/lazy-compilation-watch-provenance
6 hours ago
fix: preserve multi-compiler lazy provenance
codex/lazy-compilation-watch-provenance
7 hours ago
fix: purge pending native watcher changes
codex/lazy-compilation-watch-provenance
7 hours ago
test: remove platform-specific watcher injection
codex/lazy-compilation-watch-provenance
8 hours ago
fix(css): register css hmr runtime when native css has no module yet CssPlugin only injected CssLoadingRuntimeModule (and its `hmrC.css` handler) when the compilation already had a css module, so a native-css project that starts without any stylesheet never baked the css hmr handler into its initial runtime chunk. Because the runtime chunk is not re-emitted on HMR, the handler can never appear later, and the first css added by a hot update cannot be requested. Register the css hmr runtime whenever HMR is enabled and a native css module rule (`type: "css*"`) is configured, mirroring CssExtractRspackPlugin which already injects its css loading runtime whenever HMR is required. ref #14747
fix/css-hmr-runtime-registration
19 hours ago
chore(deps): update webpack-sources lockfile
renovate/webpack-sources-3.x
20 hours ago
chore(deps): update dependency webpack-sources to v3.5.1 (#14750) * chore(deps): update dependency webpack-sources to v3.5.1 * chore(deps): update webpack-sources lockfile --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
main
20 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(watcher): abort in-flight watch task before closing the native watcher
#14757
4 hours ago
1bedb34
fix/native-watcher-close-race-macos
CodSpeed Performance Gauge
0%
fix: preserve lazy compilation invalidation provenance
#14753
7 hours ago
435729c
codex/lazy-compilation-watch-provenance
CodSpeed Performance Gauge
0%
fix(css): register css hmr runtime when native css has no module yet
#14754
1 day ago
c292144
fix/css-hmr-runtime-registration
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs