-
Notifications
You must be signed in to change notification settings - Fork 13
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
Cached node_modules are not deleted #26
Comments
Related to #19 |
@knownasilya Can you shed some light on how the module caching works? I see two types of caches, one for the hash of the current set and one for the branch. Why do both exist? |
This should be fixed with the latest version of strider-node. The dirkeeper was working incorrectly. |
Hashes are from the initiated jobs, while the others are from manual triggers. |
Looks like we don't use dirkeeper, and we need to implement a deleting strategy.. |
I would propose something simple as appending the branch name after the md5 hash. When a change is detected that triggers |
Could be done in the cachier after the update: https://github.com/Strider-CD/strider-simple-runner/blob/master/lib/cachier.js#L23 or locally here https://github.com/Strider-CD/strider-node/blob/master/worker.js#L62 |
I just noticed that I have multiple cached node_modules for several projects on our build system.
I'm not quite sure this many caches should exist.
Was: Strider-CD/strider#853
The text was updated successfully, but these errors were encountered: