Skip to content

chore(deps): bump zccache 1.12.17 -> 1.13.0 (warm-cache deadlock, watchdog, compiler-identity cache key) #3819

Closed

Description

@zackees

Summary

pyproject.toml pins zccache>=1.12.15, and uv.lock resolves it to 1.12.17. Upstream released 1.13.0 on 2026-07-31 — 163 commits further on.

Why bump

Three of those commits map directly onto build failures observed during long local sessions:

upstream what it fixes symptom seen here
#1151 warm-cache deadlock + perf watchdog embedded zccache compile timed out after 300s for .build/pio/uno/src/main.cpp
#1180 shorten artifact locks, defer metadata GC build stalls under concurrent compiles
#1193 embedded-cache durability + daemon drains the index-writer WAL before shutdown aborts it daemon error: daemon did not become healthy after 3 spawn attempts (10s each)

Both symptoms occurred repeatedly in one session while running bash compile for several boards, to the point where an unmodified-master control build failed identically — i.e. they were environmental, not caused by any source change, but they blocked verification work.

Correctness item worth calling out separately

#1166 — the C/C++ compiler binary identity is now part of the cache key. Before this, swapping toolchains could serve cached objects built by the previous compiler. That's a silent-wrong-output class of bug rather than a performance one, and it matters here because FastLED builds across many toolchains (avr-gcc, arm-none-eabi-gcc, xtensa, clang for host tests) out of one cache.

Security items

  • #1179 — journal environments no longer persist secrets.
  • #1169 — daemon-owned artifact retention is now bounded.

Scope

Bump the constraint to >=1.13.0, refresh uv.lock, and record the reasoning in the existing pin-history comment block.

fbuild stays at 2.5.5 — it embeds its own zccache, and its pin history notes zccache had "no tag past 1.12.17" at the time. Realigning fbuild's embedded copy is a separate upstream concern and not in scope here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions