-
-
Notifications
You must be signed in to change notification settings - Fork 603
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
[Bug]: The panic location includes the Rspack CI path #6192
Comments
please run vitest under import { defineProject } from 'vitest/config'
export default defineProject({
test: {
pool: 'forks'
}
}); running rspack in worker_threads has not been well tested yet. |
sry never realized that this issue was related to the location path (/ω\) |
Haha never mind~ |
The returned name refers to a source path on the compiling system and the panic handler we've been using does not support mapping the location file. This can be achieved mapping the |
Get it 👌 |
System Info
Rspack v0.6.0
System:
OS: macOS 14.4.1
CPU: (10) arm64 Apple M1 Pro
Memory: 197.97 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.12.1 - ~/Library/Caches/fnm_multishells/99377_1712756954621/bin/node
Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/99377_1712756954621/bin/yarn
npm: 8.19.2 - ~/Library/Caches/fnm_multishells/99377_1712756954621/bin/npm
pnpm: 7.17.1 - ~/Library/Caches/fnm_multishells/99377_1712756954621/bin/pnpm
bun: 0.1.2 - ~/.bun/bin/bun
Browsers:
Chrome: 123.0.6312.107
Safari: 17.4.1
Details
The panic location includes the Rspack CI path, is this expected?
Reproduce link
https://github.com/colinaaa/rsbuild-vitest-crash-repro
Reproduce Steps
The text was updated successfully, but these errors were encountered: