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

ci: Limit when CI cache is written #1202

Merged
merged 4 commits into from
Feb 12, 2024
Merged

ci: Limit when CI cache is written #1202

merged 4 commits into from
Feb 12, 2024

Conversation

svix-jplatte
Copy link
Member

@svix-jplatte svix-jplatte commented Feb 12, 2024

Caches saved from PRs count against the 10GB cache limit after which old cache entries are evicted, but they rarely get re-used as they're only available for further commits on the same PR.

We hit this limit all the time: https://github.com/svix/svix-webhooks/actions/caches

Screenshot 2024-02-12 at 15-56-49 Workflow runs · svix_svix-webhooks

https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache

Caches saved from PRs count against the 10GB cache limit after which old
cache entries are evicted, but they rarely get re-used as they're only
available for further commits on the same PR.

https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache
@svix-jplatte svix-jplatte requested a review from a team February 12, 2024 14:56
It prints many warnings, some very questionable like one about ensuring
that every array field in the OpenAPI spec has a maximum number of items
specified.
@svix-gabriel svix-gabriel merged commit fc5b0ad into main Feb 12, 2024
7 checks passed
@svix-gabriel svix-gabriel deleted the jplatte/ci-cache branch February 12, 2024 16:12
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.

2 participants