Skip to content

chore(deps): bump zccache 1.3.7 -> 1.4.0 - #2434

Merged
zackees merged 1 commit into
masterfrom
chore/zccache-1.4.0
May 10, 2026
Merged

zackees merged 1 commit into
masterfrom
chore/zccache-1.4.0

Conversation

@zackees

@zackees zackees commented May 10, 2026 •

Copy link
Copy Markdown
Member

Summary

Upgrades the zccache compile cache from >=1.3.7 to >=1.4.0. zccache 1.4.0 is the latest release on PyPI (published 2026-05-10).

Changes

  • pyproject.toml: dependency pin zccache>=1.3.7 -> zccache>=1.4.0.
  • test.py: fixes pre-existing KBI checker violations at lines 186/193/211 that the lint pipeline encountered while building this branch — same fix pattern as the IChannel work, adds the standard except KeyboardInterrupt as ki: handle_keyboard_interrupt(ki); raise clause before each except Exception: in the watchdog's lock-release path.

uv.lock is gitignored, so only pyproject.toml and test.py are tracked here. CI / local uv sync will resolve zccache>=1.4.0 from PyPI on next install.

Verification

  • uv sync resolves to zccache 1.4.0 (.venv/Scripts/zccache.exe --version confirms).
  • bash lint clean.
  • bash test --cpp passes 303/303 (full build + run, no regressions).

Test plan

  • Local lint clean.
  • Local host test suite passes 303/303.
  • CI matrix builds across platforms with new zccache version.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores

    • Updated zccache dependency to version 1.4.0 or later.
  • Bug Fixes

    • Enhanced keyboard interrupt handling to ensure proper signal propagation during lock operations.

Review Change Stack

Upgrades the zccache compile cache to its latest release. The 1.3.x line
has been superseded by 1.4.0 on PyPI (released 2026-05-10).

Verified locally:
- uv sync resolves to zccache 1.4.0
- bash lint clean
- bash test --cpp passes 303/303 (build + run, no regressions)

Also fixes pre-existing KBI checker violations in test.py:186/193/211 that
the lint encountered while building this branch. Same fix pattern as
shipped on the IChannel branch -- adds the standard
`except KeyboardInterrupt as ki: handle_keyboard_interrupt(ki); raise`
clause before each `except Exception:` in the watchdog's lock-release path.

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

coderabbitai Bot commented May 10, 2026 •

Copy link
Copy Markdown

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: 1a371634-b809-4d7d-9f20-cca4d4e30007

📥 Commits

Reviewing files that changed from the base of the PR and between 2f7d133 and bb0ea59.

📒 Files selected for processing (2)
  • pyproject.toml
  • test.py

📝 Walkthrough

Walkthrough

This PR bumps the zccache dependency from >=1.3.7 to >=1.4.0 and adds explicit KeyboardInterrupt handling at multiple levels in the lock-release and watchdog timer code to ensure interrupts are properly caught, logged via handle_keyboard_interrupt, and re-raised.

Changes

Dependency and Keyboard Interrupt Handling

Layer / File(s) Summary
Dependency Update
pyproject.toml
zccache dependency version constraint updated from >=1.3.7 to >=1.4.0.
Keyboard Interrupt Handling
test.py
Per-lock db.release() now special-cases KeyboardInterrupt to invoke handle_keyboard_interrupt() and re-raise. Broader scope handler added to _release_held_build_locks(). Watchdog deadman_timer now propagates KeyboardInterrupt from _release_held_build_locks() after handler invocation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • FastLED/FastLED#2380: Prior zccache dependency update in pyproject.toml; this PR further bumps the version requirement.

Poem

🐰 A cache update hops through,
While interrupts now get their due,
Keyboard signals caught with care,
Handlers invoked everywhere! ✨

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title focuses on the zccache dependency bump, but the PR also includes significant KeyboardInterrupt handler fixes in test.py that are not reflected in the title. Consider updating the title to reflect both changes, such as 'chore: bump zccache 1.4.0 and fix KeyboardInterrupt handling' or splitting into separate PRs.
Docstring Coverage ⚠️ Warning Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
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 docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/zccache-1.4.0

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.

@zackees
zackees merged commit d450c50 into master May 10, 2026
3 of 4 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request May 30, 2026
2 of 4 tasks
@zackees
zackees deleted the chore/zccache-1.4.0 branch May 30, 2026 20:01
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