Skip to content

Reuse utilities from backfill-hasher#1030

Merged
ecraig12345 merged 1 commit intomicrosoft:masterfrom
ecraig12345:hasher-why
Feb 27, 2026
Merged

Reuse utilities from backfill-hasher#1030
ecraig12345 merged 1 commit intomicrosoft:masterfrom
ecraig12345:hasher-why

Conversation

@ecraig12345
Copy link
Member

After the changes in microsoft/backfill#567, lage can reuse a couple utilities from backfill-hasher instead of duplicating them (its dependency on @rushstack/package-deps-hash has been removed).

Also update comments in various docs with more details about if/why the lock file might need to be included in environmentGlob... I realized after accidentally ending up looking into the logic of workspace-tools parseLockFile that it's incredibly buggy: outright missing support for newer pnpm versions, and won't work quite as expected in various scenarios even with yarn. So basically while lage intends to be smart about detecting and hashing changes based on the lock file, this is very unlikely to work reliably in reality, so invalidating the cache on all lock file changes is safer.

@ecraig12345 ecraig12345 merged commit d499ff6 into microsoft:master Feb 27, 2026
16 of 20 checks passed
@ecraig12345 ecraig12345 deleted the hasher-why branch February 27, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant