Ability to get more information about cache invalidation? #10868
Replies: 1 comment 1 reply
-
Hello, you can get the rough idea what's different if you run with
To inspect the exact differences, you should download the restored cache file, and also the new produced file after the run, and |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're using Github Actions as part of our CI pipeline - and we're using
cache/restore
andcache/save
to make sure subsequent builds are faster.However, what we're finding is that the first run on a PR runs slowly (and PHPStan appears to do a full analysis), even though it's restored the cache item from the main branch (which I've confirmed with
--fail-without-result-cache
). In that case I'd expect it to only rerun the analysis of changed files from the main branch, but it seems that isn't happening.Is there a way I can find out which "expiration" rule PHPStan has triggered?
Beta Was this translation helpful? Give feedback.
All reactions