mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-09-25 20:28:26 +08:00
Both legs of the macOS matrix built the same ccache key, since the prefix carried no OS component and setup-ccache appends only ref and sha. Two consequences, reproducible on every run: One leg always lost its save, reporting "Unable to reserve cache with key ccache-macos-<ref>-<sha>, another job may be creating this cache". The survivor then poisoned the other. compiler_check=content means ccache hashes the compiler binary, and macos-latest is now macOS 26 while macos-15 is macOS 15, so neither can reuse the other's objects. Measured on run 32291495373, same commit, after ccache -z: macos-latest hit 860/944 (91.10%) on px4_sitl while macos-15 managed 332/944 (35.17%), recompiling two thirds of what it should have had cached. The 200M budget was shared between both toolchains as well, and reported full, so they were also evicting each other. Assisted-by: Claude:claude-opus-5 Signed-off-by: Ramon Roche <mrpollo@gmail.com>