Skip to content

chore(deps): require zccache>=1.15.8 - #4937

Merged
zackees merged 2 commits into
masterfrom
feat/zccache-pin-1.15.8
Nov 3, 2026
Merged

zackees merged 2 commits into
masterfrom
feat/zccache-pin-1.15.8

Conversation

@zackees

@zackees zackees commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Symptom

The Windows unit tests windows job logs this while building the FastLED engine in debug mode (run 40472340544; ~10 occurrences, six of them in the first parallel compile burst of the engine build, then one per later test target):

zccache[warn][S]: cannot connect to daemon at \\.\pipe\zccache-runneradmin-v1.15.8: I/O error: cannot connect to daemon at \\.\pipe\zccache-runneradmin-v1.15.8: The system cannot find the file specified. (os error 2); retrying via ephemeral session

Every occurrence is followed by a successful compile and the job passes; there is no FAILED/refusing to run uncached fallout in this run.

What the pin was

  • pyproject.toml: zccache>=1.15.6
  • pyproject.toml: fbuild>=2.5.45
  • CI runs ./install → uv sync with no committed uv.lock, so it resolved fbuild==2.5.47 and zccache==1.15.8 (the meson marker recorded zccache 1.15.8, and that is the version in the pipe name). The v1.15.8 in the warning is the resolved version, not a hard pin.

What it now is

zccache>=1.15.8 — the only change in this PR.

Why 1.15.8, and what this does not fix

The meson functional minimum stays at 1.15.6 (ci/meson/meson_setup_execute.py), because that is the PCH-snapshot feature requirement; only the dependency floor moves. fbuild's floor is unchanged: current fbuild (2.5.47) already embeds zccache 1.15.8, and raising the fbuild floor would not affect the venv zccache binary that the native build wraps.

Reproduced / not reproduced

Reproduced on this Linux machine with the new pin:

  • uv sync moved the venv from zccache 1.15.6 to 1.15.8 (zccache --version → zccache 1.15.8).
  • Direct wrapper compile, cold and warm: exit 0, object produced.
  • The warning's exact code path: with an isolated ZCCACHE_CACHE_DIR, ran zccache session-start, killed the isolated daemon, then ran ZCCACHE_SESSION_ID=... zccache gcc -c .... It emitted
    zccache[warn][S]: cannot connect to daemon at /tmp/.../daemon-v1.15.8.sock: ... Connection refused (os error 111); retrying via ephemeral session
    and still exited 0 with the object produced. This is the same client fallback as the Windows message; the Windows named pipe and its os error 2 could not be reproduced here.

Not reproduced: the Windows named pipe itself, the GitHub runner's daemon disappearing between session-start and the first parallel compiles, and any daemon/pipe fix.

Validation

  • uv sync → zccache==1.15.8
  • bash lint → exit 0
  • bash compile wasm --examples Blink → exit 0
  • direct zccache wrapper cold/warm compile → exit 0
  • bash test --cpp deliberately not run; the orchestrator runs it once at the end.

Summary by CodeRabbit

  • Chores
    • Updated the minimum required version of the build caching tool. Existing setups may need to update it before building.
  • Documentation
    • Clarified the release history: Windows daemon-pipe connection failures remain unresolved in released versions, while versions 1.15.7 and 1.15.8 include fixes for stale cache hits after same-size edits and retrying Windows destination delivery, respectively. The documented minimum avoids version 1.15.6 and retains the ephemeral-session fallback.

Raise the zccache floor from 1.15.6 to 1.15.8, the latest PyPI/crates.io
release. 1.15.8 is the version Windows CI already resolves and the version
that emits the cold-start "retrying via ephemeral session" warning, so this
does not silence that warning: the related Windows daemon-pipe failure class
is still open upstream (forge-ci/zccache#1976). Keeping the floor at 1.15.8
stops any environment from resolving back to 1.15.6, the release named in
that report, and picks up 1.15.7's same-size-edit stale-hit fix plus
1.15.8's Windows destination-delivery retry.
@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Walkthrough

The zccache release-history comments document the 1.15.8 release floor, fixes in versions 1.15.7 and 1.15.8, and an unresolved Windows daemon-pipe failure.

Changes: zccache Version Update

Layer / File(s) Summary
Release notes and version requirement
pyproject.toml
The comments describe fixes in zccache 1.15.7 and 1.15.8, the 1.15.8 release floor, and an unresolved Windows daemon-pipe failure. They also note the ephemeral-session fallback.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related issues

Possibly related PRs

Merge Risk: Minimal · up to 3c5f0

This change documents zccache release history without changing the configured dependency requirement. No actionable merge-blocking risk was identified.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "chore(deps): require zccache>=1.15.8" states the primary change. The PR raises the zccache dependency floor in pyproject.toml from >=1.15.6 to >=1.15.8, which matches the title. The title i…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Title check

Explanation

The title "chore(deps): require zccache>=1.15.8" states the primary change. The PR raises the zccache dependency floor in pyproject.toml from >=1.15.6 to >=1.15.8, which matches the title. The title is short, specific, and uses a conventional commit prefix. It does not claim a Windows daemon or pipe fix, which the PR does not include, so it does not overstate the change.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 4a57156 and 3c5f0e7.

Files selected for processing: 1
  • pyproject.toml
Files skipped from review as they are similar to previous changes: 1
  • pyproject.toml

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.

@zackees
zackees merged commit d2819c2 into master Nov 3, 2026
120 checks passed
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Nov 3, 2026
@zackees
zackees deleted the feat/zccache-pin-1.15.8 branch November 5, 2026 05:52
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