-
Notifications
You must be signed in to change notification settings - Fork 46
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
Resolve Powershell CORE Issues #180
Conversation
- RU Display (Issue PlagueHO#168) - Stored procedure debug logging - Retry logic not working
Codecov Report
@@ Coverage Diff @@
## dev #180 +/- ##
==================================
- Coverage 91% 87% -4%
==================================
Files 12 12
Lines 893 896 +3
==================================
- Hits 815 783 -32
- Misses 78 113 +35 |
Thanks @jasonchester - much appreciated as always! I'm just finishing off the new Azure DevOps Release Pipeline (so that this can go out to the Gallery). So I'll review and merge this once the deploy process is working again (I broke it when I moved it to Azure DevOps). Should be solved over the next day or two. |
Sounds good. If you can validate that I was correct in changing Jason |
Getting onto the review first thing tomorrow! Thanks again @jasonchester And yes, I think you're right - it does look like $fatal should have been $false! Great spotting! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff @jasonchester - can you add some entries to the CHANGELOG.MD in the ## Unreleased section detailing the changes?
Reviewed 2 of 2 files at r1.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @jasonchester)
src/lib/utils.ps1, line 574 at r1 (raw file):
so determine is we should delay and try again or exit #> [System.Int32] $retryAfter = ($_.Exception.Response.Headers | Where-Object Key -eq 'x-ms-retry-after-ms').Value[0]
Can you use named parameters for Where-Object? E.g. `Where-Object -Property Key -eq 'x-ms-retry-after-ms')
src/lib/utils.ps1, line 601 at r1 (raw file):
if($PSEdition -eq 'Core') { #https://get-powershellblog.blogspot.com/2017/11/powershell-core-web-cmdlets-in-depth.html#L13
Can you add a space after the #? E.g # https://
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jasonchester - awesome stuff and +++ appreciated. I'll release this week (just finishing the new release pipeline)
Reviewed 2 of 2 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
Bug Fixes
Use the pound / hash sign to indicate which GitHub issues this Pull Request fixes, if applicable.
@PlagueHO
This change is