-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Audit handling of hashes in the lockfile #4924
Copy link
Copy link
Closed
Labels
previewExperimental behaviorExperimental behavior
Description
Audit our handling of hashes. Some hashes are generated. Some are retrieved from registries. Sometimes hashes should not be used (path dependencies) where as sometimes they should (registry dependencies).
I think there are three main issues here:
First is that hashes come from two places: one place is the registry itself. Another place is by hashes we compute ourselves. Which hashes do we use in the lock file? Does it matter? Which should we use?
Second is that we often have multiple hashes available for any given artifact. Do we need to store all of them in the lock file? Or can we just pick the "best" one?
Third is whether we are doing any hash checking. I don't think we are today. But we probably should be.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
previewExperimental behaviorExperimental behavior