-
-
Notifications
You must be signed in to change notification settings - Fork 302
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
lru-cache
and ARM based macOS causes node to hang
#2132
Comments
Moving to the canary releases that support the latest
|
Current testing points to this working in macOS Ventura, 13.3+... |
Looping in @43081j in case he's seen this before. |
I wonder if we're hitting isaacs/node-lru-cache#301. Not sure though 🤔 |
I’ve found it to no longer exist in later versions of macOS/ARM chips, but it is hard to say when talking about such subtle nuance. |
i run macOS too and haven't run into this fwiw. could be some edge case though just difficult to reproduce |
I've not been able to suss out what is actually going on, but some intersection of the
lru-cache
leveraged in https://github.com/modernweb-dev/web/blob/master/packages/dev-server-core/src/middleware/PluginTransformCache.ts#L33 and running Web Test Runner on an ARM based mac causes the process to hand and consumer 100% CPU.I don't think it always did this, but it's hard to tell due to the fact that less files under test are less likely to trigger the hang. It also, doesn't happen on Intel based macs, which reduces the chances of catching the error in action.
Locally, I'm looking at just disabling the cache with
patch-package
in thelru-cache
package, but happy to share any further knowledge I can share on the subject with anyone else interested in spelunking this issue.The text was updated successfully, but these errors were encountered: