You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2023/06/01 13:27:00 UTC

[jira] [Created] (MINIFICPP-2130) Custom cache eviction strategy for GitHub Actions

Marton Szasz created MINIFICPP-2130:
---------------------------------------

             Summary: 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


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)