Skip to content

chore(deps): bump zccache to >=1.11.11 (depfile-on-cache-hit fix) - #2742

Merged
zackees merged 1 commit into
masterfrom
chore/bump-zccache-1.11.11
Jun 4, 2026
Merged

zackees merged 1 commit into
masterfrom
chore/bump-zccache-1.11.11

Conversation

@zackees

@zackees zackees commented Jun 4, 2026 •

Copy link
Copy Markdown
Member

Summary

Bumps the zccache floor from 1.11.9 to 1.11.11 to pick up forge-ci/zccache#644 — cache hits now restore the user's -MF <path> depfile alongside the .obj.

Why this matters

Without the upstream fix, the build system reading depfiles consumed an absent file on every zccache hit and recorded zero dependencies for the cached object. From that point on, transitive header changes never triggered a rebuild of the affected .obj. Symptom: undefined symbol: ... link errors hours after a git pull that legitimately modified an included header, with no visible reason for the build to be using stale objects (the host build system's deps database said "up to date").

Verified in this very repo: `-t deps` on the meson-quick build dir reported `#deps 0` for 354 of ~1500 build records — every single C/C++ object file had no recorded dependencies. The downstream symptom: `fl_gfx_rgbw_colorimetric.dll` failed to link with `undefined symbol: fl::enable_rgbw_colorimetric_lut(int, fl::RgbwLutInterp)` after #2721 merged on master — the new symbol was added but the cached object was reused.

Upstream timeline

Test plan

  • `uv sync --refresh-package zccache` upgrades to 1.11.11 locally
  • FastLED unit tests still green (307/307) after the upgrade
  • CI green

Summary by CodeRabbit

  • Chores
    • Updated zccache dependency to improve build correctness and address cache handling edge cases.

1.11.11 ships forge-ci/zccache#644 — cache hits now restore the user's
`-MF <path>` depfile alongside the .obj.

Without it, build systems reading depfiles silently record zero
dependencies for cached objects, and from then on header changes
never trigger rebuilds. The symptom for FastLED was `undefined
symbol: ...` link errors hours after a `git pull` that modified a
transitively included header, with no obvious reason for the build
to be using stale objects. A clean rebuild worked around it but
threw away the whole incremental-build benefit.

Closes the local-side of forge-ci/zccache#643. The fix landed in
forge-ci/zccache@5fb9f54 and shipped to PyPI as zccache 1.11.11.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Jun 4, 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

Run ID: f7d1a2a0-abe0-46e2-a996-16e2ccc688c8

📥 Commits

Reviewing files that changed from the base of the PR and between 7e565f9 and 024b139.

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

📝 Walkthrough

Walkthrough

The zccache dependency version floor is bumped from >=1.11.9 to >=1.11.11 in pyproject.toml. An accompanying comment is expanded to document the depfile restore behavior fix on cache hits and the build failure mode it prevents.

Changes

zccache dependency update

Layer / File(s) Summary
zccache version and documentation update
pyproject.toml
zccache minimum version constraint is bumped to >=1.11.11, and the comment is expanded to describe the depfile-on-cache-hit fix and the build failure mode when depfiles are missing.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • FastLED/FastLED#2549: Both PRs bump the zccache version constraint in pyproject.toml to pick up the same class of zccache depfile/depgraph fix.
  • FastLED/FastLED#2616: Both PRs update the zccache version constraint with comment/documentation changes, directly relating to the same dependency floor bump.
  • FastLED/FastLED#2670: Both PRs modify the pyproject.toml zccache dependency pin, with overlapping changes to the same configuration.

Poem

🐰 A cache fix hops into place,
Depfiles restored with proper grace,
From 1.11.9 we leap with care,
To 1.11.11, bugs laid bare,
Build correctness springs anew! ✨

🚥 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 and concisely summarizes the main change: bumping zccache to >=1.11.11 to fix the depfile-on-cache-hit issue, which is the core objective of this dependency update.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-zccache-1.11.11

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 and usage tips.

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.

1 participant