You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: panic assertion failed: self.backup.is_some() in the compilation after one whose finishMake tap rejected #16578
When a finishMake tap rejects, that compilation fails as expected. The next compilation on the same compiler then aborts the process (exit 134). In watch mode, a dev server dies on the first rebuild after a plugin error.
run 1: error
Panic occurred at runtime. Please file an issue on GitHub with the panic info and backtrace below: https://github.com/web-infra-dev/rspack/issues
thread 'tokio-28' panicked at <redacted>:0:0:
assertion failed: self.backup.is_some()
On 2.0.0 the location is crates/rspack_core/src/module_graph/rollback/atom.rs:45:5.
Expected: the second compilation runs, as on webpack 5.112.2 and @rspack/core 1.7.12 (run 2: ok).
Watch mode: an edit starts a compilation whose finishMake rejects, and watching.invalidate() then panics the same way. A rejecting make tap does the same. A rejecting watchRun tap does not panic.
Panics on 2.0.0, 2.2.9, 2.3.1 and 2.3.2. 1.7.12 compiles again.
Activity