Repository navigation
deps(zccache): bump embedded backend to 1.15.23 (no-abort lock watchdog) - #2254
Merged
Merged
Conversation
added 2 commits
December 4, 2026 19:25
#1866 recorded two ways the embedded zccache lock-holder watchdog could take the shared fbuild daemon down mid-build. Failure 1 (artifact flush guard) was delivered by 1.15.22 in #2180. Failure 2 (spawn/materialization admission) is fixed upstream in forge-ci/zccache 645b00ac, first released in 1.15.23: an overdue hold is now REPORTED once per site and never terminates the process, so a stuck kernel filesystem wait no longer drops warm daemon state, and an operator kill switch (ZCCACHE_LOCK_WATCHDOG / SOLDR_LOCK_WATCHDOG=off) exists. Pin exactly 1.15.23. 1.15.24/1.15.25 are intentionally not taken: they change cache-key semantics (ZCCACHE_SCOPE per-scope stores, ZCCACHE_SHARED_DIR) and need their own audited change. kernal-api moves 0.1.40 -> 0.1.42 as 1.15.23's exact pin requires; it is the only other package that moves, and all 14 zccache crates still resolve from a single git source (no duplicate-link risk). Refs #1866 (stays open; the upstream half is delivered here).
#1866 failure 2 was fixed upstream in zccache 1.15.23 (645b00ac): an overdue spawn/materialization hold is reported instead of aborting the daemon. The behaviour lives in zccache internals, so fbuild cannot reproduce the RED half locally -- but a pin downgrade would silently reintroduce the mid-build daemon kill. Assert the embedded zccache version floor (zccache::core::VERSION >= 1.15.23) and, in the same test, that the predicate rejects the still-aborting 1.15.22, so the guard is proven to discriminate rather than being vacuous. Refs #1866.
This was referenced Dec 5, 2026
Closed
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.
Summary
#1866recorded two ways the embedded zccache lock-holder watchdog could take the shared fbuild daemon down mid-build:f13b3d12).crates/zccache-daemon-core/src/daemon/spawn_exclusion.rsin 1.15.22: an overdue holder triggersabort_after_report, killing the process (and with it warm daemon state) while a build is active.Upstream fixed failure 2 in
forge-ci/zccache@645b00ac("report lock hold overruns instead of aborting; add lock watchdog kill switch", 2026-11-28), first released in 1.15.23 (2026-11-28T11:23Z). The watchdog now:ZCCACHE_LOCK_WATCHDOG/SOLDR_LOCK_WATCHDOG=off.This PR pins the embedded backend to exactly 1.15.23 (
9d3dcb0e059143d2e3775ee5a87970ceb38b79d7).Why not 1.15.24 / 1.15.25
Those releases change cache-key semantics (
ZCCACHE_SCOPEper-scope stores with scope-salted keys, cross-checkout rust artifact sharing,ZCCACHE_SHARED_DIRshared tier). They are auditable changes in their own right and are deliberately out of scope here.Dependency delta
kernal-apimoves0.1.40 -> 0.1.42, which is 1.15.23's exact pin. It is the only other package that moves; all 14 zccache crates still resolve from one git source, andrunning-processis untouched (modern zccache linkskernal-api, notrunning-process), so the duplicate-rp_*_publichazard described inCargo.tomldoes not apply.Changed versions in the lock: exactly
zccache* 1.15.22 -> 1.15.23(14 crates) andkernal-api 0.1.40 -> 0.1.42.Validation
See the check/test output in the thread. Reproduce:
Scope
#1866stays open: this delivers the upstream half. The in-repo RED->GREEN test is not expressible from fbuild because the watchdog and its registry arezccacheinternals (pub(crate)); upstream owns those tests (crates/zccache-core/src/sync_watchdog_tests.rs,crates/zccache-daemon-core/src/daemon/spawn_exclusion_watchdog_tests.rs, extended by 645b00ac).Local run (this branch,
a6709584+48faf6d6)Runtime smoke (isolated
HOME/FBUILD_CACHE_DIR, port 22771):i.e. the embedded service reports v1.15.23 and boots clean.
Test note
embedded_zccache_keeps_the_no_abort_lock_watchdogasserts the version floor and that the same predicate rejects 1.15.22, so the guard provably discriminates. The behavioural RED->GREEN lives upstream (sync_watchdog_tests.rs,spawn_exclusion_watchdog_tests.rs, extended by 645b00ac) because the watchdog registry ispub(crate)inside zccache.