-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
get-cmake takes over 2 min when there is no cache #136
Comments
@njzjz the first step would be to identify which opertion is taking an unusual amount of time. You can enable the timestamps in the log and see where most of the time is spent. Then you can dig into the step further and expand the expandable section to get more granular results, such as the following screenshot (where action debugging is enabled to get verbose output and more information): |
The issue only happens when it saves the cache in the first runtime. Deleting the cache manually can reproduce it. |
Maybe a similar issue as hendrikmuhs/ccache-action#181 |
@njzjz thank you for all the references.
If a simple solution can be applied to |
Still, not fixed, no progress. At 3 weeks with no progress, I believe a note should be included in the GitHub repository so new users should not be confused about why the action consumes 90% of the total runtime of their workflow, both on the first run, and whenever a new CMake version is used. |
Also, would you mind referencing what bug in Node v20 is causing this issue? |
@lukka Hey, had a chance to run it today, seems to work. You can confirm it with the logs below, but the cache upload below counts as far as I can tell, right? No cache (missed), so it executes and uploads to the cache, where the upload takes 2 minutes to time out. As far as I know, that's the bug, the conditions in my logs present those same conditions, and the bug doesn't happen here (3-second upload, instead of 130+ seconds).
|
@Xevion thank you, this is looking good to me! Closing this issue, let me know if any other issue comes up. |
For unclear reasons,
get-cmake
takes over 2 min on macos-14:The text was updated successfully, but these errors were encountered: