You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our node/install-packages step, I notice the restore_cache output to be something like this:
No cache is found for key: node-deps-arch1-linux-amd64-6_85-v1-WEBPLAT-1424-otawg9WNM0SS_vutk39ZUPxQPgxUCFt5g4TXo9whdYs=
Found a cache from build 188495 at node-deps-arch1-linux-amd64-6_85-v1-WEBPLAT-1424-3zVE04aLnLzo5ttkKIxeRB9NIhoXVIiqLiwkGMKBONA=
After which npm ci runs for 5 minutes or so. After that is done, I notice that it is skipping cache generation with such a message
Skipping cache generation, cache already exists for key: node-deps-arch1-linux-amd64-6_85-v1-WEBPLAT-1424-3zVE04aLnLzo5ttkKIxeRB9NIhoXVIiqLiwkGMKBONA=-otawg9WNM0SS_vutk39ZUPxQPgxUCFt5g4TXo9whdYs=
jamesrwu
changed the title
Orb behaviour does not match what source code says it should be doing
Orb behaviour with restore_cache does not match what source code says it should be doing
Feb 2, 2022
Orb version: 5.0.0
What happened:
In our node/install-packages step, I notice the restore_cache output to be something like this:
After which
npm ci
runs for 5 minutes or so. After that is done, I notice that it is skipping cache generation with such a messageExpected behavior:
Based on the source code as I see here:
node-orb/src/commands/install-packages.yml
Lines 68 to 72 in ccf5f1a
is that during the cache restore step, it would have searched for the same cache key that eventually got generated
npm ci
step.Additional Information:
Additional context from our config.yaml:
We're running
node/install-packages
with no custom parameters.The text was updated successfully, but these errors were encountered: