-
Notifications
You must be signed in to change notification settings - Fork 1.4k
slow speed in setup-node step #726
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
Comments
Hello @eerison |
So slow too. |
We have the same issue. |
Same here, we encounter this frequently https://github.com/prisma/prisma/actions/runs/4746282641/jobs/8429723075#step:9:438 |
Hello, everyone! Thank you for pointing out the inconsistencies in setup times on a project basis. Unfortunately, we believe that the problem here might be a bit tricky... Given the fact that our hosted toolcache directory and manifest contains only LTS versions (e.g. As for the case that @millsp pointed out, where it's version 18 making an issue, we do believe that the problem was also external (and temporary) in nature. That being said, the cache servers might have been temporarily unavailable or a bit overwhelmed with requests which resulted in cache download getting stuck even though the node was installed. Sadly, this was probably more of an infrastructure issue than something we could fix with code... If you want to learn more about versions (and aliases) in particular, you can check out the README of our repository, more specifically supported version syntax . If you have any other concerns, feel free to reply or open up a new issue. Alternatively, if we answered your question, please feel free to let us know that also. We appreciate your input! :) |
It doesn't make sense the binary isn't at least cached at the job level. Our jobs are again crashing today. |
Hi, @Santas ! Thank you for the follow-up. We will take a closer look into the issue and, hopefully, come back to you with a potential solution soon. But first, just to clarify - are you still trying to use Node v19 in your jobs? We appreciate your time and cooperation :) |
Yes, Node v19. |
Hello @Santas ! Thank you for your patience. I have discussed the issue with my colleagues and, unfortunately, there isn't much that we can do about it at this time. The reason being that it simply isn't an issue on our end - it can take varying amounts of time to fetch and install a Node version that isn't available out of the box in our node-versions repository. As non-LTS versions aren't, that variable definitely applies there. I will have to close this issue now, as its solution is out of our reach, but if any other problem arises while using our software, please feel free to file a new issue and we will be happy to take a look at it. Thank you for your time and cooperation! :) |
Description:
Any idea why some setups are really fast
~5sec
and others~2min
?Action version:
v3
Platform:
Runner type:
Tools version:
npm
Repro steps:
https://github.com/shield-wall/myprofile
Expected behavior:
slow: https://github.com/shield-wall/myprofile/actions/runs/4505022388/jobs/7930236281
fast: https://github.com/shield-wall/myprofile/actions/runs/4505022388/jobs/7930228983
Actual behavior:
every setup be few seconds 🚀
The text was updated successfully, but these errors were encountered: