Describe the bug
I noticed that one of our svelte github actions builds were stalling, eventually narrowed it down to this. Check this repo for a minimal reproduction: https://github.com/jzjones/vite-build-issue
Notice that the build step in the action times out after 15 mins.
It seems to be triggered by having multiple call sites of the same glob import. I'm sure this is most likely some kind of deadlock in vite/rolldown, however I wasn't able to reproduce it without vite-plugin-svelte. Note that this seems to only occur when the runner has <= 2 vCPUs (ubuntu-latest private runner, or ubuntu-slim runner), so smells like a concurrency deadlock in rolldown somewhere.
Happy to file it elsewhere if someone can help me reproduce it without vite-plugin-svelte.
This issue has the potential to totally break CI for an entire project, and the hanging build gives no indication of where the issue originated.
Reproduction URL
https://github.com/jzjones/vite-build-issue
Reproduction
No response
Logs
System Info
ubuntu-latest private runner, or ubuntu-slim runner
Describe the bug
I noticed that one of our svelte github actions builds were stalling, eventually narrowed it down to this. Check this repo for a minimal reproduction: https://github.com/jzjones/vite-build-issue
Notice that the build step in the action times out after 15 mins.
It seems to be triggered by having multiple call sites of the same glob import. I'm sure this is most likely some kind of deadlock in vite/rolldown, however I wasn't able to reproduce it without vite-plugin-svelte. Note that this seems to only occur when the runner has <= 2 vCPUs (ubuntu-latest private runner, or ubuntu-slim runner), so smells like a concurrency deadlock in rolldown somewhere.
Happy to file it elsewhere if someone can help me reproduce it without vite-plugin-svelte.
This issue has the potential to totally break CI for an entire project, and the hanging build gives no indication of where the issue originated.
Reproduction URL
https://github.com/jzjones/vite-build-issue
Reproduction
No response
Logs
System Info