Skip to content

Own bounded content-authoritative tree fingerprints for build clients #157

Closed

Description

@zackees

Coordinated with FastLED/cli#229 and #155. Add an fs-gated tree hash API using existing kernel glob/walk/BLAKE3 capabilities. Include/exclude patterns remain caller policy. Hash relative paths and file content, independent of mtimes and absolute root; deterministic ordering; exclude directories and symlinks correctly; bounded file inventory and read buffers; propagate read/scan errors. Use a versioned unambiguous hash encoding (existing zccache aggregate encoding concatenates variable-length file bodies without framing), accepting one cache miss on migration. Move generic same-size-edit/restored-mtime and deletion tests from fastled-wasm upstream and add selection, relocation, framing, and limit tests. No zccache backend dependency or public re-export.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions