Skip to content

ci: the AppImage build saves its compiler cache (#1832) - #2179

Merged
zackees merged 2 commits into
masterfrom
fix/1832-appimage-zccache-save
Oct 24, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/1832-appimage-zccache-save

Conversation

@zackees

@zackees zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member

Refs #1832

#1833 forwarded ZCCACHE_CACHE_DIR into the build container, but the cache is still never saved. The container runs as root and zccache keeps .zccache private, so actions/cache/save (the runner user) warned EACCES: permission denied, scandir '.../.zccache', saved nothing and still passed. Today's master release (run 40097160881) compiled 322/322 cold, and actions/caches?key=zccache-appimage is empty.

A step before the save returns .zccache to the runner user (sudo chown -R), with the save's own condition (always(), master only). It does nothing when the directory is missing.

  • RED (test: the AppImage build must save its compiler cache): ci/test_appimage_zccache_save.py fails: no step returns .zccache to the runner user before Save zccache.
  • GREEN: the test passes; ./lint ok.

This is a focused CI fix (local RED evidence; the save only runs on master). The proof comes after merge: the next master release should log Cache saved with key: zccache-appimage-…, and the one after it should restore it and show cached compilations. I'll report both on #1832 and close it then. That's why this says Refs, not Fixes.

@zackees
zackees enabled auto-merge October 24, 2026 15:28
@zackees
zackees added this pull request to the merge queue Oct 24, 2026
Merged via the queue into master with commit 03c3ddb Oct 24, 2026
30 checks passed
@zackees
zackees deleted the fix/1832-appimage-zccache-save branch October 26, 2026 15:43
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.

1 participant