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
Is your feature request related to a problem? Please describe.
The unit test and integration test workflows utilized the default caching provided by the setup-go action. However, due to limitations around cache access this is a non optimal use of the cache. Every PR is generating their own cache and throwing out the actually useful cache provide by master branch. You can see this in the current cache.
Describe the solution you'd like
What actually needs to happen is:
Master run build-rke2 on merge commits, and build a cache of golang depedencies. Only master branch can SAVE a new cache entry
All PRs/non master branches can only RESTORE cache entries for golang. This prevents an overflow of the 10GB cache with entries that can never be used again.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The unit test and integration test workflows utilized the default caching provided by the
![image](https://private-user-images.githubusercontent.com/11727736/337402156-eeb69a37-3356-4522-81fa-c0ab86cad120.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzg1MDUsIm5iZiI6MTczOTI3ODIwNSwicGF0aCI6Ii8xMTcyNzczNi8zMzc0MDIxNTYtZWViNjlhMzctMzM1Ni00NTIyLTgxZmEtYzBhYjg2Y2FkMTIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDEyNTAwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk1YjgzZDYyNDljNTJjMTA4NTU2MTNiMDY1YjgyOTA5ZWE1ZmM3YmU5NmJhMDU3YTQ1MjY2MDRmNGI2MmRhMzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.rLVFI5jzOmI9kDrkfj8gkE4RE78-Egej-f6DGzKffo0)
setup-go
action. However, due to limitations around cache access this is a non optimal use of the cache. Every PR is generating their own cache and throwing out the actually useful cache provide bymaster
branch. You can see this in the current cache.Describe the solution you'd like
What actually needs to happen is:
Master run build-rke2 on merge commits, and build a cache of golang depedencies. Only master branch can SAVE a new cache entry
All PRs/non master branches can only RESTORE cache entries for golang. This prevents an overflow of the 10GB cache with entries that can never be used again.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: