Errors in project metadata gathering causing build failures #1131
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Unintentionally, the steps to gather project metadata were causing builds to fail if there was an error.
As this data is not required, we should not fail the whole process if one of these fail.
This appears to be the original intention (with existing try/catch) but async returns bypassed them.
Additionally, the timeout on
getCommittedFileCount
was reduced, as an up to 20s slowdown for non-critical information was too high.📦 Published PR as canary version:
11.20.3--canary.1131.12283964969.0
✨ Test out this PR locally via: