-
Notifications
You must be signed in to change notification settings - Fork 54
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
Node 20 appears to cause major slowdown in Post ccache
step
#181
Comments
I can take up this issue. It is happening due to how |
I think this issue needs to be fixed by |
I have no idea how Node works and what API it offers - but I think the proper fix would be in the code which is doing the HTTP request, telling the connection to be closed via the I am very vaguely remembering encountering some similar issue with |
I have opened the issue with actions/toolkit#1643 I am surprised many packages inside https://github.com/actions are using I will look into this if I can fix it. |
Related to the other thread: Would a downgrade to node 18 help? We don't have to use node 20, all we need is not 16, because github put it EOL. In the long run we have to upgrade of course, but a downgrade would buy some time so github folks can figure out whats wrong. |
Just updating to Node 18 should help with this issue since the behavior has only changed in Node 19.
Actually we do: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ But as you commented in the other ticket let's do this in incremental steps one problem at a time... |
actions/toolkit seems unresponsive about issues and prs |
This is tracked upstream at hendrikmuhs/ccache-action#181
This is tracked upstream at hendrikmuhs/ccache-action#181
Any chance of #182 getting merged, even as a temporary fix? The current situation is unpleasant and there doesn't seem to be any activity from GH to resolve the root cause |
I can merge it once the test-failures are resolved (maybe it is just a matter of merging the latest changes). |
GitHub should be able to fix this. I identified the exact connection they are leaving open so hopefully every downstream consumer doesn't need to implement the As @chirag-droid said though.. they don't seem to take community PRs or issues at very high priority 😕 |
Hi all, I've noticed that the |
Hi, is there any workaround about this? |
The update to Node 20 appears to cause a slowdown in the
Post ccache
step.In my case the step was taking single-digit seconds with the version used on Node 16 and always 2+ minutes when Node 20 was involved. The used platform or prior existence of a cache does not seem to have any impact.
See
#178 (comment)
#178 (comment)
The text was updated successfully, but these errors were encountered: