Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create gh-actions-cache.yml #3062

Closed
wants to merge 1 commit into from
Closed

Create gh-actions-cache.yml #3062

wants to merge 1 commit into from

Conversation

Lohita9
Copy link
Contributor

@Lohita9 Lohita9 commented May 10, 2023

A repository can have multiple pull requests with their own caches, leading to a shortage of cache storage. The cache eviction policy automatically removes the oldest caches to make space. To prevent cache thrashing, workflows can be set up to delete caches faster than the eviction policy. This can be achieved using the gh-actions-cache CLI extension, which enables the deletion of caches for specific branches.

A repository can have multiple pull requests with their own caches, leading to a shortage of cache storage. The cache eviction policy automatically removes the oldest caches to make space. To prevent cache thrashing, workflows can be set up to delete caches faster than the eviction policy. This can be achieved using the gh-actions-cache CLI extension, which enables the deletion of caches for specific branches.
@iBotPeaches
Copy link
Owner

Sorry I don't think this is needed. We are a low PR repo and I only see 1.5 pages of cache items. I'd prefer to let the natural cache eviction systems take place.

I don't see any thrashing because we are not blowing out our own master cache.

Thanks though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants