Skip to content

Defend against missing files in the hashing logic#907

Open
dobesv wants to merge 1 commit intomicrosoft:masterfrom
dobesv:hash-file-missing-fixup
Open

Defend against missing files in the hashing logic#907
dobesv wants to merge 1 commit intomicrosoft:masterfrom
dobesv:hash-file-missing-fixup

Conversation

@dobesv
Copy link
Contributor

@dobesv dobesv commented May 14, 2025

If a file is missing while calculating file hashes, use stub values instead of exiting with an error.

I added this because I was occasionally getting errors from this code about the file not being there and lage would exit, I think this may be caused by my changes in #867 , which allows inputs to specify exact files rather than globs so there could be a file listed as an input that doesn't exist at the time of the build.

If a file is missing while calculating file hashes, use stub values instead of exiting with an error.
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