Repository navigation
fix: upgrade Linux zccache for strict PCH timestamp replay - #1265
Merged
Merged
Conversation
zackees
force-pushed
the
infra/zccache-pch-1155
branch
from
October 17, 2026 17:47
af0717e to
a2ff343
Compare
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linux CMake builds now install zccache 1.15.5, including its strict PCH header timestamp replay fix. A touched, byte-identical header has its recorded timestamp restored before clang loads the PCH, preventing
#pragma onceredefinitions while retaining validation of real changes. The installer checks published SHA-256 values for x86_64 and aarch64.The existing standalone launcher covers Tier 2, Ubuntu, AppImage and sanitizer builds. Soldr’s embedded cache is separate: released soldr 0.9.37 still embeds/venders zccache 1.15.4. The dependency/vendor refresh is zackees/soldr#3849. The optional soldr CMake wrapper (
ENABLE_ZCCACHE) receives the new embedded cache only after that change is released and the new soldr release is adopted. This standalone Linux launcher upgrade does not depend on that release.Coordinated with FastLED/FastLED#4865.
Validation:
git diff --checkpass.zccache 1.15.5version.#pragma onceheader timestamp without editing its bytes, then compiled its consumer through zccache. Compilation succeeded and the header timestamp returned exactly to the recorded 1600000000 seconds. Fixture and command ran within the same workspace, matching replay’s intentional workspace boundary.Refs #782.
CI follow-up: the previous Tier 2 job hit 213 zccache launcher refusals (exit 125), then failed its single daemon restart retry. The error summary discarded zccache stderr and showed only FAILED edges. Commit 5696baf reproduces that diagnostic loss with 213 failed edges (RED); a2ff343 prints deduplicated launcher reasons before the edge cap (GREEN). The 12 focused cache/diagnostic tests pass, along with Ruff, shell syntax and diff whitespace checks. Independent local review is clean. Full local Tier 2 build now passes (
OBS_TIER2_STAGE=build bash rust/tools/linux-validate/run.sh, exit 0): all 1090 build edges, 772 cold compiler invocations through zccache 1.15.5, and identical C/Rust libobs exports (1766 symbols). The original CI daemon refusal did not reproduce; the new diagnostics will preserve its reason if it recurs. This was the build stage; cmocka runtime tests were not rerun locally.