-
Notifications
You must be signed in to change notification settings - Fork 1k
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
hashFiles
of a non-wildcard reads the whole tree
#319
Comments
We only need `packages/cosmic-swingset/go.sum` for Golang and `yarn.lock` for Yarn. Note that this is still expensive until actions/runner#319 is fixed.
I would suggest that the So:
|
I see that this was fixed in #268 Where would I find out the ETA for Github Actions to be upgraded to this version? |
@TingluoHuang do you know whats the state of the runner release that contains glob fixes? |
The runner is in ring 0, but we need service change to deploy in order to control the rollout |
this should be fixed now. |
Refs Agoric/agoric-sdk#502
Refs actions/cache#177
Describe the bug
I expect
hashFiles('yarn.lock')
only to read$workspace/yarn.lock
.Instead, it tries to read the entire working directory subtree. That's unacceptable when a build may create millions of files.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No time-consuming traversal of the entire directory tree just to read one file. That single hash takes 00:01:45 in a big tree when it should be milliseconds.
Runner Version and Platform
Version of your runner? Github.com current
OS of the machine running the runner? Ubuntu
What's not working?
Cache plugin cleanup takes ages even though there are no changes (cache hit).
Job Log Output
From https://github.com/Agoric/agoric-sdk/actions/runs/34932285
Note how the above line took almost a full minute to execute.
Here's the rest of the step:
Runner and Worker's Diagnostic Logs
N/a
The text was updated successfully, but these errors were encountered: