Skip to content

ci: fix macOS cache saves on Hermes - #110

Merged
npmccallum merged 1 commit into
mainfrom
ci/macos-cache-save
Nov 7, 2026
Merged

npmccallum merged 1 commit into
mainfrom
ci/macos-cache-save

Conversation

@npmccallum

Copy link
Copy Markdown
Contributor

Hermes denies the cache action's optional sudo purge launch. The upstream action can then exit successfully without uploading a cache. Pin the platform job to the same patched action already verified with a real cache upload and subsequent restore in Pichi.

Runner permissions, wipes, cache save conditions, and existing tests are unchanged. The Linux-only lint job retains its existing action reference.

Validation: git diff --check and gitlint pass. The pinned action builds reproducibly and has passed launch-error regression tests and Pichi's main-branch save/restore checks. Dillo-specific main-branch cache validation follows deployment.

Upstream tracking: Swatinem/rust-cache#400 (currently closed without merging). Keep the pinned fork until an upstream revision contains the fix.

Pin platform caching to our tested rust-cache fork so a sandbox-denied
sudo launch cannot abort the optional purge workaround and cache upload.
Preserve runner isolation, cache save conditions, and existing coverage.
@npmccallum
npmccallum merged commit 2d30b2e into main Nov 7, 2026
1 of 8 checks passed
@npmccallum
npmccallum deleted the ci/macos-cache-save branch November 7, 2026 22:24
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