Yarn cache is not updated when npm updates are grouped with Docker image updates #35127
Replies: 4 comments 9 replies
-
|
Can you modify the reproduction that there's a standalone PR containing only an npm update which does have the cache updated? |
Beta Was this translation helpful? Give feedback.
-
|
@rarkins Sure thing! Here is an example PR where yarn cache is correctly updated in that repo: eslawski/yarn-zero-install-and-docker-image-bug#8 |
Beta Was this translation helpful? Give feedback.
-
|
As a workaround, please configure |
Beta Was this translation helpful? Give feedback.
-
|
Just wanted to bump this discussion and highlight that the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
A Mend.io-hosted app
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
No response
Please tell us more about your question or problem
When updates to npm dependencies (using yarn zero-installs) are grouped with updates to docker images, we've observed that the yarn cache is not properly regenerated. This is troublesome as it requires the developer to pull down the branch, run a
yarn installto generate the necessary cache files, and push back the changes.Furthermore, we've noticed this bug can be intermittent. However, once a PR gets into this state, it seems to consistently exhibit the issue.
This can be observed in this minimal reproduction repo.
Skimming the logs, we do notice see
Enabling global cache as zero-install is not detectedwhich feels highly related.Logs (if relevant)
No response
Beta Was this translation helpful? Give feedback.
All reactions