-
Notifications
You must be signed in to change notification settings - Fork 0
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
Yarn install deploy step takes over 9 minutes on staging! #957
Comments
Related issue #930 |
On lib-approvals-staging2, yarn quickly installs all the dependencies. However, after all directories are present in node_modules, it spends several minutes maxing out the CPU. |
Prod could be fast because |
Interestingly, |
@sandbergja will replace yarn with npm. |
It seems that rails requires yarn to a very high extent, and I couldn't find a way to precompile assets without invoking yarn. It seems that yarn is a bit less required in Rails 7, but we're not there yet. |
Excerpt from my
cap staging deploy
today:Note that this step took over 9 minutes on both staging boxes. I re-ran this deploy, just to make sure it wasn't a fluke. It wasn't. The second deploy took 8.5 minutes on the
yarn:install
step.Prod deploys in a reasonable amount of time.
Success criteria
Implementation notes
See this information from @carolyncole.
The text was updated successfully, but these errors were encountered: