Repository navigation
chore(deps): bump zccache 1.12.17 -> 1.13.0 - #3820
Merged
Merged
Conversation
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]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe pull request raises the minimum Changeszccache dependency update
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
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.
Closes #3819.
What
Raise the
zccachefloor inpyproject.tomlfrom>=1.12.15(resolving to 1.12.17) to>=1.13.0, released upstream 2026-07-31 — 163 commits further on.uv.lockis gitignored in this repo, so the constraint inpyproject.tomlis what actually moves resolution.Why
Three upstream fixes map onto build failures I hit repeatedly while compiling across boards in one session:
embedded zccache compile timed out after 300s for .build/pio/uno/src/main.cppdaemon 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
Out of scope
fbuildstays 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(zccachereports1.13.0):bash test --cpp --cleanbash compile uno --examples Blinkbash compile esp8266 --examples ColorPalettebash lintOne honesty note on that
unoresult: 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