Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Enhance build Pipeline Reliability with Retry Logic and Improved Error Messaging #36529

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lei9444
Copy link
Contributor

@lei9444 lei9444 commented Dec 23, 2024

Summary of the Pull Request

This update improves the reliability of the .NET installation process in the pipeline by adding a retry mechanism and enhancing error handling. The following changes have been made:

  1. Added a 3-time retry logic to increase the success rate of the installation process.
  2. Implemented correct error messaging to be thrown when the download fails, making troubleshooting easier and more efficient.

before update:
image

After (testing with an incorrect URL):
image

PR Checklist

  • Closes: #xxx
  • Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
  • Tests: Added/updated and all pass
  • Localization: All end user facing strings can be localized
  • Dev docs: Added/updated
  • New binaries: Added on the required places
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

@lei9444 lei9444 marked this pull request as ready for review December 23, 2024 08:51
@lei9444 lei9444 requested a review from a team as a code owner December 23, 2024 08:51
Copy link

@yeelam-gordon yeelam-gordon left a comment

Choose a reason for hiding this comment

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

Cool, thanks

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