Skip to content

chore(deps): bump zccache 1.12.17 -> 1.13.0 - #3820

Merged
zackees merged 1 commit into
masterfrom
chore/zccache-1.13.0
Aug 1, 2026
Merged

zackees merged 1 commit into
masterfrom
chore/zccache-1.13.0

Conversation

@zackees

@zackees zackees commented Aug 1, 2026 •

Copy link
Copy Markdown
Member

Closes #3819.

What

Raise the zccache floor in pyproject.toml from >=1.12.15 (resolving to 1.12.17) to >=1.13.0, released upstream 2026-07-31 — 163 commits further on.

uv.lock is gitignored in this repo, so the constraint in pyproject.toml is what actually moves resolution.

Why

Three upstream fixes map onto build failures I hit repeatedly while compiling across boards in one session:

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

Both symptoms were environmental rather than source-caused — I confirmed an unmodified-master control build failed identically — but they blocked verification work outright.

The correctness item, which matters more than the perf ones

#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 bug, not a slow-build one, and it's especially relevant here because FastLED drives avr-gcc, arm-none-eabi-gcc, xtensa and host clang out of a single cache.

Security

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

Out of scope

fbuild stays at 2.5.5. It embeds its own zccache copy, and its pin-history comment records that zccache had "no tag past 1.12.17" when that pin was written — so realigning fbuild's embedded copy is a separate upstream concern.

Verification

After uv lock && uv sync (zccache reports 1.13.0):

check result
bash test --cpp --clean ✅ 359/359
bash compile uno --examples Blink ✅ 5036 B — this is the build that had been wedging
bash compile esp8266 --examples ColorPalette ✅ 269475 B
bash lint ✅ clean

One honesty note on that uno result: reinstalling also restarts the daemon, so I can't attribute the recovery to 1.13.0 alone from a single observation. The upstream fixes named above are the right shape for the failure, but treat it as consistent-with rather than proof-of.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated the documented release history to include version 1.13.0.
    • Clarified the minimum supported version requirement for compatibility.
  • Chores
    • Refreshed project metadata to align with the latest supported release and ensure installations use the appropriate baseline version.

163 commits upstream since the version the previous `>=1.12.15`
constraint was resolving to. Three map onto build failures seen during
long local sessions:

  #1151  warm-cache deadlock + perf watchdog
         -> "embedded zccache compile timed out after 300s"
  #1180  shorten artifact locks, defer metadata GC
  #1193  embedded-cache durability; daemon drains the index-writer WAL
         before shutdown aborts it
         -> "daemon did not become healthy after 3 spawn attempts"

Both symptoms recurred while running `bash compile` across several
boards, to the point that an unmodified-master control build failed
identically -- environmental rather than source-caused, but they blocked
verification work.

Separately worth noting, #1166 puts the C/C++ compiler binary identity
into the cache key. Previously a toolchain swap could serve objects
built by the previous compiler -- a wrong-output bug, not a slow-build
one, and relevant here because FastLED drives avr-gcc, arm-none-eabi-gcc,
xtensa and host clang out of one cache.

Security: journal environments no longer persist secrets (#1179) and
daemon-owned artifact retention is bounded (#1169).

fbuild stays at 2.5.5; it embeds its own zccache copy and realigning
that is an upstream concern.

uv.lock is gitignored here, so the floor in pyproject.toml is what
actually moves resolution.

Verified after `uv lock && uv sync` (zccache reports 1.13.0):
  bash test --cpp --clean   359/359
  bash compile uno          5036 B   (this was the build that wedged)
  bash compile esp8266      269475 B
  bash lint                 clean

Closes #3819

Co-Authored-By: Claude <[email protected]>
@coderabbitai

coderabbitai Bot commented Aug 1, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 25d56026-6059-4659-bfe0-1ada19535eb2

📥 Commits

Reviewing files that changed from the base of the PR and between 4eb45b7 and e25c79c.

📒 Files selected for processing (1)
  • pyproject.toml

📝 Walkthrough

Walkthrough

The pull request raises the minimum zccache version to 1.13.0 and adds release notes describing the upstream cache, locking, shutdown, compiler identity, journal, and retention changes.

Changes

zccache dependency update

Layer / File(s) Summary
Version floor and release history
pyproject.toml
The documented history now includes zccache 1.13.0. The dependency minimum changes from >=1.12.15 to >=1.13.0.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the zccache dependency bump from 1.12.17 to 1.13.0.
Linked Issues check ✅ Passed The change raises zccache to >=1.13.0, records the update rationale, and leaves fbuild unchanged as required by issue #3819.
Out of Scope Changes check ✅ Passed The changes are limited to the requested zccache dependency constraint and pin-history documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/zccache-1.13.0

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@zackees
zackees merged commit b805fd5 into master Aug 1, 2026
10 of 12 checks passed
@zackees
zackees deleted the chore/zccache-1.13.0 branch August 1, 2026 19:15
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Aug 1, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

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

1 participant