Skip to content

chore(deps): consume zccache 1.15.8 from crates.io (#1757); release 2.5.47 - #1759

Merged
zackees merged 1 commit into
mainfrom
chore/zccache-cratesio-1.15.8
Oct 27, 2026
Merged

zackees merged 1 commit into
mainfrom
chore/zccache-cratesio-1.15.8

Conversation

@zackees

@zackees zackees commented Oct 27, 2026

Copy link
Copy Markdown
Member

Why

#1757: zccache_embedded_smoke::embedded_compilation_cold_miss_then_warm_hit flaked on Windows — the second identical compile intermittently answered cached: false. Root cause was in zccache: a cache hit whose destination write failed was bucketed destination_write_failed, which the pipeline treats as a soft miss and silently re-runs the compiler. A Windows AV/indexer holding the fresh file with FILE_SHARE_READ for a few hundred ms was enough to cause it.

That is fixed upstream and published: forge-ci/zccache#1999, released as zccache 1.15.8 (forge-ci/zccache#2000), live on crates.io and PyPI.

What changes

  • Both deps switch from git rev = 15ec9537… to the crates.io release.
  • The pin moves to [workspace.dependencies]. Five manifests each pinned zccache separately (fbuild-build, -engine, -arm, -esp, -mcu), and a mix of a git rev and a registry version resolves both packages into the link — the same duplicate rp_*_public symbol failure the running-process note already documents. One workspace pin removes that class of drift.
  • Cargo.lock drops the fourteen git-sourced zccache-* crates and resolves a single registry source.
  • Version bump to 2.5.47 (Cargo.toml + pyproject.toml), so this commit is the release SHA.

Evidence

Against the crates.io build, on this machine:

  • zccache_embedded_smoke 2/2, including embedded_compilation_cold_miss_then_warm_hit (cold miss → flush → warm hit).
  • exactly_one_running_process_identity_matching_the_workspace_pin passes — zccache 1.15.8 still takes running-process =4.10.16 from crates.io, matching the workspace pin, so exactly one copy of the rp_*_public symbols links.
  • The published artifact was checked directly: the extracted zccache-1.15.8 source contains retry_transient_scan_window, so the fix is really in what we consume.
  • cargo tree resolves zccache v1.15.8 with zero github.com/zackees/zccache references left in Cargo.lock.

After this merges, release via release-auto.yml dispatch on this SHA (publish=false dry run, then publish=true).

….5.47

fbuild pinned zccache to a git rev in five manifests, and those five copies
could drift: a mix of a git rev and a crates.io version resolves BOTH packages
into the link, which is the duplicate `rp_*_public` symbol failure the
running-process note already warns about. Move the pin to
`[workspace.dependencies]` so every crate that links zccache shares one source.

Take 1.15.8 from crates.io rather than a git rev. It is the published release
carrying the #1757 fix: a cache hit whose destination write loses a Windows
AV/indexer scan window is now retried with the #490 ladder instead of
degrading to a silent `cached: false` recompile that fails fbuild's embedded
smoke test. Verified against the published artifact — the extracted
`zccache-1.15.8` source contains `retry_transient_scan_window`.

Cargo.lock drops the fourteen git-sourced zccache crates and resolves a single
registry source. zccache 1.15.8 still takes running-process =4.10.16 from
crates.io, so the workspace pin stays in lockstep and
exactly_one_running_process_identity_matching_the_workspace_pin still passes.

Evidence: zccache_embedded_smoke 2/2 including
embedded_compilation_cold_miss_then_warm_hit, and
exactly_one_running_process_identity_matching_the_workspace_pin, both against
the crates.io build.
@coderabbitai

coderabbitai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • 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

Comment @coderabbitai help to get the list of available commands.

@zackees
zackees added this pull request to the merge queue Oct 27, 2026
Merged via the queue into main with commit 3154a18 Oct 27, 2026
28 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Oct 28, 2026
@zackees
zackees deleted the chore/zccache-cratesio-1.15.8 branch November 5, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant