Repository navigation
chore(deps): bump zccache floor >=1.12.1 -> >=1.12.3 - #3020
Conversation
Picks up the zccache fixes that landed since 1.12.1: - #710 — meson configure snapshot no longer poisons rebuilds with stale `*.pch` (the FastLED-observed `redefinition of 'IChannelDriver'` failure mode); `zccache clear` now purges those entries. - #726 — daemon wedge guard widened so burst link load no longer kills healthy daemons (skipping 1.12.2). - #728 — enriched persist WARN diagnostics for future Defender repros. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
📝 WalkthroughWalkthroughThe Changeszccache Dependency Bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
pyproject.toml (1)
105-146: ⚡ Quick winConsider documenting the 1.12.1+ and 1.12.3 version rationale.
The comment block thoroughly documents zccache 1.11.11–1.11.18, but doesn't explain:
- What prompted the earlier bump to >=1.12.1
- Why 1.12.3 is now required (skipping 1.12.2)
Given the PR objectives highlight a high-value fix in 1.12.3 (zccache
#710: meson configure snapshot corruption with*.pch/*.objfiles causingredefinition of 'IChannelDriver'errors), documenting this would preserve institutional knowledge for future maintainers.📝 Suggested comment addition
Add a block before line 146 documenting the 1.12.x series, for example:
# a stale-target tree. 1.11.12 added the wrapper itself # (zackees/zccache#649, closes zackees/zccache#627). 1.11.11 ships # the depfile-on-cache-hit fix (zackees/zccache#643) — without that, # `deps = gcc` mode records `#deps 0` for every cached object and # incremental builds produce stale .obj files after a git pull that # changes transitive headers (symptom: `undefined symbol: ...` link # errors hours after a header actually changed). + # 1.12.3 (released YYYY-MM-DD): strict allowlist for meson configure + # snapshot capture (zackees/zccache#710) — fixes redefinition errors + # caused by *.pch and *.obj files from already-built directories being + # restored into freshly-cleaned directories, circumventing `#pragma` once. + # Also widens daemon wedge guard to prevent healthy daemons from being + # terminated under burst load (zackees/zccache#726) and enhances persist + # WARN diagnostics for Microsoft Defender debugging (zackees/zccache#728). + # Skips 1.12.2. "zccache>=1.12.3",🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@pyproject.toml` around lines 105 - 146, The existing comment block in pyproject.toml thoroughly documents zccache versions 1.11.11 through 1.11.18 but lacks documentation for the 1.12.x series. Add a comment block before the `"zccache>=1.12.3",` requirement that explains what prompted the bump to version 1.12.1 and why version 1.12.3 is specifically required (skipping 1.12.2). Include details about the high-value fix in 1.12.3 related to zccache `#710` that addresses meson configure snapshot corruption with .pch/.obj files that was causing redefinition errors like the `'IChannelDriver'` issue. This preserves institutional knowledge for future maintainers about the rationale behind this version constraint.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@pyproject.toml`:
- Line 146: The zccache dependency in pyproject.toml is constrained to version
1.12.3, which has not been released to PyPI yet (the latest available version is
1.12.2). This will cause dependency resolution to fail in CI. Update the zccache
version constraint from 1.12.3 to 1.12.2 in the dependencies list to use the
latest available version on PyPI, unless there is a specific requirement for
1.12.3 that necessitates waiting for its release.
---
Nitpick comments:
In `@pyproject.toml`:
- Around line 105-146: The existing comment block in pyproject.toml thoroughly
documents zccache versions 1.11.11 through 1.11.18 but lacks documentation for
the 1.12.x series. Add a comment block before the `"zccache>=1.12.3",`
requirement that explains what prompted the bump to version 1.12.1 and why
version 1.12.3 is specifically required (skipping 1.12.2). Include details about
the high-value fix in 1.12.3 related to zccache `#710` that addresses meson
configure snapshot corruption with .pch/.obj files that was causing redefinition
errors like the `'IChannelDriver'` issue. This preserves institutional knowledge
for future maintainers about the rationale behind this version constraint.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 8ff5db7e-7660-48d4-8f9f-8a2ca6b9affd
📒 Files selected for processing (1)
pyproject.toml
| # changes transitive headers (symptom: `undefined symbol: ...` link | ||
| # errors hours after a header actually changed). | ||
| "zccache>=1.12.1", | ||
| "zccache>=1.12.3", |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Description: Check PyPI for zccache 1.12.3 availability and security advisories.
# Check if version 1.12.3 exists on PyPI
echo "=== Checking PyPI for zccache 1.12.3 ==="
curl -s https://pypi.org/pypi/zccache/json | jq -r '.releases | keys[] | select(. == "1.12.3")'
# List recent versions for context
echo -e "\n=== Recent zccache versions on PyPI ==="
curl -s https://pypi.org/pypi/zccache/json | jq -r '.releases | keys[]' | sort -V | tail -10
# Check for security advisories
echo -e "\n=== Security advisories (if any) ==="
gh api graphql -f query='
{
securityVulnerabilities(first: 5, ecosystem: PIP, package: "zccache") {
nodes {
advisory {
summary
severity
publishedAt
}
vulnerableVersionRange
firstPatchedVersion {
identifier
}
}
}
}'Repository: FastLED/FastLED
Length of output: 433
zccache 1.12.3 is not available on PyPI yet—this is a critical blocker.
The pyproject.toml constraint specifies zccache>=1.12.3, but the latest released version on PyPI is 1.12.2. CI will fail immediately with a "no matching distribution found" error. Either wait for zccache 1.12.3 to be released to PyPI, or clarify whether the dependency should be constrained to >=1.12.2 instead.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@pyproject.toml` at line 146, The zccache dependency in pyproject.toml is
constrained to version 1.12.3, which has not been released to PyPI yet (the
latest available version is 1.12.2). This will cause dependency resolution to
fail in CI. Update the zccache version constraint from 1.12.3 to 1.12.2 in the
dependencies list to use the latest available version on PyPI, unless there is a
specific requirement for 1.12.3 that necessitates waiting for its release.
Summary
Bumps zccache floor to >=1.12.3. The high-value FastLED-visible fix is forge-ci/zccache#710: the meson configure snapshot was capturing
*.pch/*.objfrom already-built dirs and restoring them into freshly-cleaned dirs, defeating#pragma oncededup and producingredefinition of 'IChannelDriver'errors. 1.12.3 fixes the capture (strict allowlist), the no-op-reconfigure capture path, and makeszccache clearpurge the poisoned entries.Also picked up:
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
zccachedependency from version>=1.12.1to>=1.12.3.