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

Add retries to Azure Devops Reporter scripts #7399

Merged
merged 2 commits into from
May 18, 2021
Merged

Conversation

MattGal
Copy link
Member

@MattGal MattGal commented May 17, 2021

#7371 - retry in the case of HTTP 503 (10x, 3 seconds between attempts) , and stop trying in the case of "run is deleted"

To double check:

Formatting changes were from me letting pycharm format the script; logging change is to be sure I'm testing what I changed.

…ttempts) , and stop trying in the case of "run is deleted"
@MattGal MattGal mentioned this pull request May 17, 2021
2 tasks
@MattGal MattGal requested a review from alexperovich May 18, 2021 15:56
@MattGal
Copy link
Member Author

MattGal commented May 18, 2021

There's one last error I didn't handle, TF400813: The user '' is not authorized to access this resource, which could be added to the cases but it's kind of artificial (happens when you rerun a finished job with its token hours later)

@MattGal MattGal merged commit 4af242b into dotnet:main May 18, 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