Skip to content

Retry for InitializeXCopyMSBuild#7464

Merged
lukas-lansky merged 3 commits into
dotnet:mainfrom
lukas-lansky:retry-InitializeXCopyMSBuild
Jun 9, 2021
Merged

Retry for InitializeXCopyMSBuild#7464
lukas-lansky merged 3 commits into
dotnet:mainfrom
lukas-lansky:retry-InitializeXCopyMSBuild

Conversation

@lukas-lansky

Copy link
Copy Markdown
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 a user June 2, 2021 17:33
@ghost

ghost commented Jun 2, 2021

Copy link
Copy Markdown

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

lukas-lansky commented Jun 7, 2021

Copy link
Copy Markdown
Contributor Author

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

@lpatalas lpatalas left a comment

Copy link
Copy Markdown
Contributor

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.

2 participants