-
fix(core): copy native file atomically to avoid hanging graph creation (#30695)
发布于
2025-04-11 23:21:14 +00:00 Current Behavior
When copying the native file out of node_modules into tmp from multiple
processes (aka plugin workers)... this can result in Node deadlocking.Expected Behavior
Copying the native file out of node_modules into tmp from multiple
processes will first copy to unique places in/tmpbut then atomically
rename to the final location where it is still loaded from.This at least fixes a flaky test in
nx:testwhere the explicit
dependencies tests were timing out after 35 secondsRelated Issue(s)
Fixes #
下载附件