Fix Netlify builds for PRs - #5876
Conversation
|
|
Success! 4/4 of builds with the fix succeeded, and 1/1 of builds without the fix failed. |
|
Would be great to get this PR in, because all other PRs are essentially stuck because of the netlify build issue 👏 |
|
@dylans has been merging PRs despite this issue, so they're not stuck per se, but it would definitely be nice to get the green checkmark back on mergeable PRs. Having a reliable preview build will also help with reviewing and testing. The config file is a JS file, so it should be possible to apply the limit only in Netlify if anyone can figure out the right environment variable to check. That can probably happen as a separate PR, though. |
Description
The Netlify build workflows have been failing for some time. The error message
Command failed with exit code 129: yarn buildmight indicate a problem with memory usage; if so, this forum thread indicates that limiting the number of CPUs during the build might address the problem.Full error message
Context
Prior attempts: #5785 (addressing linter errors), #5809 (addressing stale browserlist).
I'm not sure which of these potential issues is the root cause, or if multiple of them are.Setting the CPU limit fixed the problem. 🎉