Skip to content
This repository was archived by the owner on Aug 4, 2022. It is now read-only.

Improve error handling from AOS requests#110

Merged
Omaaarz merged 7 commits intomicrosoft:mainfrom
Antonstockmarr:ReliableErrors
Nov 22, 2021
Merged

Improve error handling from AOS requests#110
Omaaarz merged 7 commits intomicrosoft:mainfrom
Antonstockmarr:ReliableErrors

Conversation

@Antonstockmarr
Copy link
Copy Markdown
Contributor

ReliableRun class will catch AOS exceptions and try to suggest changes. Other errors pass through. If a suggestion is found, or it does not make sense to retry, the request is not repeated. Every AOS error is shown to the user.

Example of an error with an inline TSG:
image

resolves #105
#patch

ReliableRun class will catch AOS exceptions and try to suggest changes. Other errors pass through. If a suggestion is found, or it does not make sense to retry, the request is not repeated. Every AOS error is shown to the user.
resolves microsoft#105
#patch
Comment thread src/ScaleUnitManagement/WorkloadSetupOrchestrator/Utilities/ReliableRun.cs Outdated
Comment thread src/ScaleUnitManagement/WorkloadSetupOrchestrator/Utilities/ReliableRun.cs Outdated
Comment thread src/ScaleUnitManagement/WorkloadSetupOrchestrator/Utilities/ReliableRun.cs Outdated
Comment thread src/ScaleUnitManagement/WorkloadSetupOrchestrator/Utilities/ReliableRun.cs Outdated
@Antonstockmarr
Copy link
Copy Markdown
Contributor Author

Hmm, Im not 100% happy with this name either, but it's a tricky one.

Comment thread src/ScaleUnitManagement/WorkloadSetupOrchestrator/Utilities/ReliableRun.cs Outdated
Timeout errors and similar will be caught by reliableRun
@AndreasHassing
Copy link
Copy Markdown
Contributor

@Antonstockmarr this PR is ready except that it needs to uptake main, please merge main into this and ensure things look good - then ping @Omaaarz or me and we can get it in 😊. Thanks!

@AndreasHassing AndreasHassing requested review from Omaaarz and removed request for AndreasHassing November 18, 2021 21:57
@Omaaarz Omaaarz merged commit 7e2f79e into microsoft:main Nov 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show brief details about errors in ReliableRun

3 participants