Repository navigation
Own bounded content-authoritative tree fingerprints - #158
Merged
Merged
Conversation
Refs #157, #155. Coordinated with FastLED/cli#233.
zackees
added a commit
to FastLED/cli
that referenced
this pull request
Sep 13, 2026
Refs #229, #233. Depends on forge-ci/kernal-api#158. Remove the zccache dependency graph; retain FastLED source-selection and cache invalidation policy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build clients currently pull zccache's fingerprint/cache graph just to hash a selected source tree. Add fs-gated
hash::blake3_treeusing the existing kernel walker, glob matcher, and BLAKE3 implementation, with bounded parallel streaming reads and no new dependencies.The versioned digest frames relative paths and fixed-size content hashes. It detects same-size edits with restored mtimes and changes to names/file membership, while remaining independent of root location and worker order. Exclusions prune directories; symlinks are skipped. Read/scan errors, non-UTF-8 paths, and resource-limit violations fail explicitly. The digest format intentionally differs from zccache's, causing one cache miss on client migration.
Validation: eight focused tree tests; full
fs,fs-watchsuite withRUSTFLAGS='-C link-arg=-Wl,--build-id=sha1'(required by the existing Linux build-ID test on this host); strict Clippy. The fastled-wasm consumer passes its complete default-feature Rust suite and Python tests, removes 11 lockfile packages, and moves its generic content-change/deletion coverage upstream. Local review found no blocking issues; its documentation precision suggestion was addressed with an invalid-filename regression test.Closes #157. Refs #155. Coordinated with FastLED/cli#233 and FastLED/cli#229. This capability must land and be released before the consumer removes its temporary local dependency patch.