Repository navigation
Require zccache strict path flag support - #2380
Conversation
📝 WalkthroughWalkthroughUpdates the Changes
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
🤖 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
📒 Files selected for processing (1)
pyproject.toml
| "uv", | ||
| "clang-tool-chain>=1.2.9", | ||
| "zccache>=1.2.12", | ||
| "zccache>=1.3.7", |
There was a problem hiding this comment.
🧩 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:
- 1: https://github.com/zackees/zccache/blob/main/docs/ARCHITECTURE.md
- 2: Release 1.3.4 forge-ci/zccache#56
- 3: https://github.com/zackees/zccache/releases/tag/1.2.8
- 4: https://github.com/zackees/zccache
- 5: https://pypi.org/project/zccache/
- 6: forge-ci/zccache@12b21fc
🏁 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 -10Repository: 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:
- 1: https://github.com/zackees/zccache
- 2: https://github.com/zackees/zccache/pulls
- 3: https://github.com/zackees/zccache/blob/main/README.md
- 4: Release 1.3.4 forge-ci/zccache#56
- 5: forge-ci/zccache@12b21fc
- 6: https://github.com/zackees/zccache/releases/tag/1.2.8
- 7: https://crates.io/crates/zccache-compiler
🏁 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 -100Repository: 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:
- 1: Release 1.3.4 forge-ci/zccache#56
- 2: forge-ci/zccache@4c0fce5
- 3: forge-ci/zccache@3b27b9d
- 4: https://github.com/zackees/zccache
- 5: https://github.com/zackees/zccache/blob/main/README.md
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:
- ✓ zccache 1.3.7 exists on PyPI
- ✗ The
--strict-pathsflag is actually available and documented in 1.3.7 - ✓ 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.
Summary
--strict-pathscommand-line flagpyproject.tomlContext
zccache 1.3.7exposes--strict-paths <off|consistent|absolute>#pragma onceunder Windows PCH buildsTesting
uv tool run --from zccache==1.3.7 zccache --versionuv tool run --from zccache==1.3.7 zccache --helpgit diff --checkSummary by CodeRabbit