Open blimmer opened 12 months ago
Today, the cache key for install-packages includes the branch name in the cache key by default: https://github.com/CircleCI-Public/node-orb/blob/ab05d0e3718e32232bdd9c80a8ba6fac1c0bee02/src/commands/install-packages.yml#L48-L52
install-packages
This causes far more cache misses than necessary, IMO, especially because the lockfile hash is already included in the key.
I propose we change the default from true to false in the next major release. This will significantly improve user experience by reducing runtimes.
true
false
Very much agree!
Describe Request:
Today, the cache key for
install-packages
includes the branch name in the cache key by default: https://github.com/CircleCI-Public/node-orb/blob/ab05d0e3718e32232bdd9c80a8ba6fac1c0bee02/src/commands/install-packages.yml#L48-L52This causes far more cache misses than necessary, IMO, especially because the lockfile hash is already included in the key.
I propose we change the default from
true
tofalse
in the next major release. This will significantly improve user experience by reducing runtimes.