[
https://issues.apache.org/jira/browse/MINIFICPP-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gábor Gyimesi resolved MINIFICPP-2130.
--------------------------------------
Fix Version/s: 0.15.0
Resolution: Fixed
> Custom cache eviction strategy for GitHub Actions
> -------------------------------------------------
>
> Key: MINIFICPP-2130
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2130
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Marton Szasz
> Assignee: Gábor Gyimesi
> Priority: Major
> Fix For: 0.15.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> GitHub Actions caches have a 10 GB storage limit for the repository, and it
> evicts older caches automatically. Because the caches are immutable, we're
> forced to create a new, separate cache key for each run. We need a cleanup
> job that cleans up older than latest cache entries for each branch, remove
> caches for closed pull requests, and if we're near the limit, start removing
> non-main / pull request caches, since pull requests can fall back to the main
> branch cache.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)