Add wait time to retries in sourcelink validation #7758
Merged
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.
To double check:
When we fail to find the url in sourcelink, we retry, but instead of waiting (for the cases that could be throttling issues), we just immediately retry. This change adds a wait time to retries, so we will instead wait for 30s before trying again.
Validation builds:
aspnetcore validate-dotnet: https://dev.azure.com/dnceng/internal/_build/results?buildId=1298484&view=logs&j=28bdc2c7-156f-51fb-6444-d4b8da3693ac&t=db80a514-da0d-59b3-7d70-a8c1f2a0491a
efcore validate-dotnet: https://dev.azure.com/dnceng/internal/_build/results?buildId=1298489&view=results