Clean golang cache for arm64 ci workflows#15989
Clean golang cache for arm64 ci workflows#15989ahrtr merged 1 commit intoetcd-io:mainfrom jmhbnz:disable-arm64-ci-cache
Conversation
|
After second thought, I think the better choice is to only disable cache for golang test by running |
This also crossed my mind. I'm going to hit pause on any more work here just to see if @serathius or anyone else has a preference on which cache prevention option to use (for the record I'm happy with either approach as both address the issue and I think overall performance of one versus the other will be minimal). For reference, doing a completely fresh |
|
No cache looks good to me (8s is ok). or we can force to run test case with |
|
Caching go mod 👍 |
Signed-off-by: James Blair <mail@jamesblair.net>
|
Thanks for the feedback everyone - I've switched to the more targeted approach of just doing the I've run multiple workflow runs to verify this is working as expected and we no longer see any cache for the common e2e tests as we were previously. Refer latest run https://github.com/etcd-io/etcd/actions/runs/5143019041/jobs/9257510705?pr=15989. |
Defined follow-up task here as a good first issue #15995 |
We recently moved to container based nightly arm64 workflow runs which appear to be completing successfully however the e2e common suite is reporting unexpected caching, refer: https://github.com/etcd-io/etcd/actions/runs/5116632303/jobs/9198983536
We have a hypothesis that we can prevent this behavior with
cache: falseon thesetup-goaction, refer discussion in #15986.