Skip to content

Conversation

@lukas-lansky
Copy link
Contributor

I'm hitting the Rule of Three. Before I refactor the retries into some common function, do you happen to know if we have already something like that can could be referenced here @riarenas ?

https://github.com/dotnet/core-eng/issues/13188

@lukas-lansky lukas-lansky requested a review from riarenas June 2, 2021 17:33
@riarenas
Copy link
Contributor

riarenas commented Jun 2, 2021

I don't think we have a resusable retry anywhere in the scripts. Extracting the retry functionality for at least all the retries in this file would be nice.

@lukas-lansky lukas-lansky requested a review from lpatalas June 7, 2021 12:40
@lukas-lansky
Copy link
Contributor Author

lukas-lansky commented Jun 7, 2021

I verified the change by applying it locally to runtime repo and building it. Adding Lukasz as he is a PowerShell expert.

Copy link
Contributor

@lpatalas lpatalas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@lukas-lansky lukas-lansky merged commit ec66747 into dotnet:main Jun 9, 2021
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.

3 participants