Skip to content

chore(deps): bump zccache floor >=1.12.1 -> >=1.12.3 - #3020

Merged
zackees merged 1 commit into
masterfrom
chore/bump-zccache-1.12.3
Jun 14, 2026
Merged

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

Conversation

@zackees

@zackees zackees commented Jun 14, 2026 •

Copy link
Copy Markdown
Member

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 / *.obj from already-built dirs and restoring them into freshly-cleaned dirs, defeating #pragma once dedup and producing redefinition of 'IChannelDriver' errors. 1.12.3 fixes the capture (strict allowlist), the no-op-reconfigure capture path, and makes zccache clear purge the poisoned entries.

Also picked up:

Test plan

  • CI green once zccache 1.12.3 hits PyPI.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated zccache dependency from version >=1.12.1 to >=1.12.3.

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]>
@coderabbitai

coderabbitai Bot commented Jun 14, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The zccache dependency floor in pyproject.toml is raised from >=1.12.1 to >=1.12.3, a single-line change with no other modifications.

Changes

zccache Dependency Bump

Layer / File(s) Summary
zccache minimum version constraint
pyproject.toml
Raises the zccache lower bound from >=1.12.1 to >=1.12.3.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Possibly related PRs

  • FastLED/FastLED#3008: Bumps zccache in the same pyproject.toml constraint (>=1.12.0 → >=1.12.1), one step earlier in the same version line.
  • FastLED/FastLED#3001: Directly modifies the same pyproject.toml zccache minimum version floor.
  • FastLED/FastLED#2742: Same file, same dependency constraint change pattern for zccache.

Poem

🐇 A hop, a skip, a version bump so small,
From twelve-point-one to twelve-point-three we crawl,
The cache grows wiser, faster, and more bright,
One line in toml sets the version right.
Onward, dear FastLED, into the night! ✨

🚥 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 accurately and specifically describes the main change: bumping the zccache dependency floor from >=1.12.1 to >=1.12.3, matching the changeset content.
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.12.3

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
pyproject.toml (1)

105-146: ⚡ Quick win

Consider 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/*.obj files causing redefinition 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

📥 Commits

Reviewing files that changed from the base of the PR and between bde26da and df61ad4.

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

Comment thread pyproject.toml
# changes transitive headers (symptom: `undefined symbol: ...` link
# errors hours after a header actually changed).
"zccache>=1.12.1",
"zccache>=1.12.3",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 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.

@zackees
zackees merged commit 6157361 into master Jun 14, 2026
3 of 10 checks passed
@zackees
zackees deleted the chore/bump-zccache-1.12.3 branch June 14, 2026 14:36
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Jun 14, 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.

1 participant