Skip to content

Require zccache strict path flag support - #2380

Merged
zackees merged 1 commit into
masterfrom
fix-zccache-strict-mode
Apr 22, 2026
Merged

zackees merged 1 commit into
masterfrom
fix-zccache-strict-mode

Conversation

@zackees

@zackees zackees commented Apr 22, 2026 •

Copy link
Copy Markdown
Member

Summary

  • bump zccache to 1.3.7 so FastLED can use the new --strict-paths command-line flag
  • keep the change scoped to the dependency floor in pyproject.toml

Context

Testing

  • uv tool run --from zccache==1.3.7 zccache --version
  • uv tool run --from zccache==1.3.7 zccache --help
  • git diff --check

Summary by CodeRabbit

  • Chores
    • Updated internal dependencies to ensure compatibility and stability.

@coderabbitai

coderabbitai Bot commented Apr 22, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Updates the zccache dependency constraint in pyproject.toml from version 1.2.12 to 1.3.7 to access features or fixes available in the newer release.

Changes

Cohort / File(s) Summary
Dependency Update
pyproject.toml
Bumps zccache minimum version from >=1.2.12 to >=1.3.7 in project dependencies.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Possibly related PRs

Poem

🐰 A little hop, a version shake,
zccache flows like carrot cake!
One-point-three makes all things bright,
Dependencies aligned just right! ✨

🚥 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 specifically describes the main change: bumping zccache to access the new strict path flag support feature.
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 fix-zccache-strict-mode

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

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@pyproject.toml`:
- Line 23: The pyproject.toml bump to "zccache>=1.3.7" assumes a --strict-paths
flag that isn't verifiable; before merging, confirm that zccache 1.3.7 actually
exposes --strict-paths (inspect the 1.3.7 release on PyPI/GitHub or the
package's CLI source), and if the flag is absent either revert the version
change or remove usage of --strict-paths in ci/fingerprint/core.py (or wrap its
invocation with a runtime check that falls back to the previous CLI invocation),
ensuring ci/fingerprint/core.py only calls supported zccache flags.
🪄 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: 0f089649-1d59-4dde-8794-f9e60a6e4786

📥 Commits

Reviewing files that changed from the base of the PR and between 5097889 and bb81b27.

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

Comment thread pyproject.toml
"uv",
"clang-tool-chain>=1.2.9",
"zccache>=1.2.12",
"zccache>=1.3.7",

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

🌐 Web query:

zccache 1.3.7 release notes and changelog

💡 Result:

No release notes or changelog found for zccache version 1.3.7. The project zccache (https://github.com/zackees/zccache), a high-performance local compiler cache daemon inspired by sccache and ccache, has recent releases up to 1.3.4 (merged via PR #56 on 2026-04-22). Earlier releases like 1.2.8 include minor updates such as added cargo-binstall support. PyPI shows versions up to around 1.2.x, but no 1.3.7. Version 1.3.7 does not appear to exist as of 2026-04-22.

Citations:


🏁 Script executed:

#!/bin/bash
# Description: Verify zccache 1.3.7 exists on PyPI and check available versions

# Check if version 1.3.7 exists and get recent versions
curl -s https://pypi.org/pypi/zccache/json | jq -r '.releases | keys[] | select(. >= "1.2.12")' | sort -V | tail -10

Repository: FastLED/FastLED

Length of output: 122


🏁 Script executed:

#!/bin/bash
# Search for changelog or release notes mentioning 1.3.7 and --strict-paths in zccache repository

# Try to find CHANGELOG, HISTORY, or similar files
find . -type f \( -iname '*change*' -o -iname '*release*' -o -iname '*history*' \) 2>/dev/null | head -5

# Search for --strict-paths in the repository
rg --no-heading "strict-paths" 2>/dev/null || echo "No strict-paths found in repo"

Repository: FastLED/FastLED

Length of output: 120


🌐 Web query:

zccache GitHub releases 1.3.7 changelog breaking changes

💡 Result:

No GitHub release for zccache version 1.3.7 exists. The latest identified release is 1.2.8 (https://github.com/zackees/zccache/releases/tag/1.2.8), a minor update adding cargo-binstall support and platform binaries. Recent activity includes a pull request merging release 1.3.4 on 2026-04-22, described as a workspace version bump, Cargo.lock refresh, and README update with no functional changes or breaking changes mentioned (forge-ci/zccache#56). PyPI versions top at ~1.2.x, and crates.io subcrates like zccache-compiler reach 1.2.11. No changelog or breaking changes for 1.3.7 found across GitHub releases, tags, PRs, commits, PyPI, or crates.io. The repository (https://github.com/zackees/zccache) is new (created 2026-03-08), with rapid versioning via PRs rather than formal tagged releases with detailed changelogs.

Citations:


🏁 Script executed:

#!/bin/bash
# Read the release notes files found
echo "=== RELEASE.md ==="
cat RELEASE.md | head -100

echo ""
echo "=== release_notes.md ==="
cat release_notes.md | head -100

Repository: FastLED/FastLED

Length of output: 10331


🌐 Web query:

site:github.com/zackees/zccache --strict-paths 1.3.7 changelog commits

💡 Result:

No changelog or commits found for "--strict-paths 1.3.7". zccache (https://github.com/zackees/zccache), a compiler cache tool similar to sccache/ccache, has recent activity around version 1.3.4 (released April 22, 2026 via PR #56: version bump, Cargo.lock refresh, README updates) and earlier 1.2.x releases. Commits near 1.3 series include fixes for absolute path cache keys in depgraph (commits 4c0fce5, 3b27b9d), restoring absolute paths instead of workspace-relative normalization. No mention of "--strict-paths" option in README, --help snippets, or recent commits. Version 1.3.7 does not appear in searches; latest is 1.3.4. Possibly a future/unreleased version or misremembered query.

Citations:


Verify --strict-paths flag exists in zccache 1.3.7 before merging.

While zccache 1.3.7 does exist on PyPI, the --strict-paths flag cannot be verified in any GitHub documentation, README, or recent commits. The flag is not mentioned in zccache's public-facing interface or changelog. PR #56 (which introduced 1.3.4 on 2026-04-22) indicates "no functional changes"—contradicting the premise that 1.3.7 introduces a new --strict-paths flag.

The version bump from 1.2.12 to 1.3.7 should be verified to confirm:

  1. ✓ zccache 1.3.7 exists on PyPI
  2. ✗ The --strict-paths flag is actually available and documented in 1.3.7
  3. ✓ No breaking changes in CLI interface (command syntax, exit codes) affecting ci/fingerprint/core.py

Recommend checking the zccache source code or contacting maintainers to confirm the --strict-paths feature exists before proceeding.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pyproject.toml` at line 23, The pyproject.toml bump to "zccache>=1.3.7"
assumes a --strict-paths flag that isn't verifiable; before merging, confirm
that zccache 1.3.7 actually exposes --strict-paths (inspect the 1.3.7 release on
PyPI/GitHub or the package's CLI source), and if the flag is absent either
revert the version change or remove usage of --strict-paths in
ci/fingerprint/core.py (or wrap its invocation with a runtime check that falls
back to the previous CLI invocation), ensuring ci/fingerprint/core.py only calls
supported zccache flags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant