Closed sebffischer closed 1 year ago
I think that the problem here is once again when we have too many branches. In this case, the branches modified solutions.qmd
which change the hash for the cache. Because of this, there was no direct cache hit, and instead one of the restore keys was used. Because of this. In this case, the post-cache step of the github actions workflow uploads the identical cache with the same cache-keys. I don't think we need to do something about this, because this should happen very rarely
The way we have set up our CI can cause the same cache to be uploaded multiple times for different PRs:
Once there are enough of these caches, the Linux-openml- cache from the main branch will be deleted to make room for the identical caches. This then means that the openml data is not cached, which can cause runs to time out.
I think we should only upload the cache in case there was no exact cache hit.