turbo
16708a98 - refactor: Own resolution fingerprints in repository (#13598)

Commit
45 days ago
refactor: Own resolution fingerprints in repository (#13598) ## Intent Make complete external-resolution generations self-contained and remove the retained fingerprint callback. ## Changes - Compute every package resolution fingerprint during normalized generation construction. - Remove `ClosureHasher`, `with_closure_hasher`, `apply_resolution_fingerprints`, and `hash_sorted_closures`. - Extract the historical lockfile-package Cap'n Proto layout and xxHash64 primitive into cycle-free `turborepo-lockfile-hash`. - Delegate existing `turborepo-hash` compatibility wrappers to the same single schema and implementation. - Remove the unused producer-level aggregate fingerprint so package fingerprint ownership is unambiguous. - Preserve exact historical fingerprint bytes and typed error chains. ## Testing - `cargo test -p turborepo-lockfile-hash -p turborepo-hash -p turborepo-repository -p turborepo-task-hash` - 1 lockfile primitive test - 25 hash tests - 393 repository tests - 18 task-hash tests - `cargo clippy -p turborepo-lockfile-hash -p turborepo-hash -p turborepo-repository -p turborepo-task-hash -p turborepo-lib --all-targets -- -D warnings` - Pre-push `format` and `check:toml` hooks Advances TURBO-5799.
Author
Parents
Loading