Nx
Enterprise
Nx
Overview
Sign in / Sign up
Open main menu
Nx
GitHub
Select a tab
Overview
Runs
Analytics
Nx
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Filter
Filter exact branch match
Exact
Select status
Succeeded
20.8.0-rc.0
d66b6638 fix(core): copy native file atomically to avoid hanging graph creation (#30695) <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> 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 <!-- This is the behavior we should expect with the changes in this PR --> Copying the native file out of node_modules into tmp from multiple processes will first copy to unique places in `/tmp` but then atomically rename to the final location where it is still loaded from. This at least fixes a flaky test in `nx:test` where the explicit dependencies tests were timing out after 35 seconds ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
5 days ago
by FrozenPandaz