Skip to content

ci: keep a single ccache entry per job - #122

Merged
everoddandeven merged 1 commit into
libmonero:mainfrom
everoddandeven:ci/cache-quota
Oct 30, 2026
Merged

everoddandeven merged 1 commit into
libmonero:mainfrom
everoddandeven:ci/cache-quota

Conversation

@everoddandeven

Copy link
Copy Markdown
Member

The ccache was saved under a key with the commit sha, so every push to main added an entry per job and the caches filled the quota of the repository (10.4 GB used of 10), which gets the oldest ones evicted.

Save under a stable key instead: the new save-ccache action deletes the previous entry and saves again. The old per-sha entries are still used as fallback by the restore, and they go away by themselves.

The ccache was saved under a key with the commit sha, so every push to main added an
entry per job and the caches filled the quota of the repository (10.4 GB used of 10),
which gets the oldest ones evicted.

Save under a stable key instead: the new save-ccache action deletes the previous entry
and saves again. The old per-sha entries are still used as fallback by the restore, and
they go away by themselves.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@everoddandeven
everoddandeven merged commit e813f58 into libmonero:main Oct 30, 2026
8 of 22 checks passed
@everoddandeven
everoddandeven deleted the ci/cache-quota branch October 30, 2026 06:07
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.

1 participant