Skip to content

ci: Fix the Tier 2 apt cache: restore with zstd, save once on master - #1077

Merged
zackees merged 2 commits into
masterfrom
ci/1055-apt-cache-fix
Oct 16, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/1055-apt-cache-fix

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Fixes #1055 (follow-up to #1058).

#1058's cache never hit and overflowed the repo cache:

  • Miss: actions/cache versions entries by compressor. The restore ran before zstd was installed (gzip version), the post-save after (zstd version), so master's own entry was never found (run 38888785774: Cache not found, fetched 339 MB). zstd now installs in the first step.
  • Overflow: every PR, queue and shard job saved its own 323 MB entry (11 entries in an hour); repo caches hit 11.4 GB > 10 GB, evicting ccache. Now cache/restore everywhere and one cache/save in the build job on master push.

RED 926f972: 2 new failures in ci/test_tier2_apt_cache.py. GREEN: ci/ suite OK, lint OK.

@zackees
zackees enabled auto-merge October 16, 2026 11:05
@zackees
zackees added this pull request to the merge queue Oct 16, 2026
Merged via the queue into master with commit ce0b976 Oct 16, 2026
20 checks passed
@zackees
zackees deleted the ci/1055-apt-cache-fix branch October 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ci: Cache Tier 2 Linux's apt downloads in the job container

1 participant