Improve resilience of reservation price exports to Blob Storage#2102
Merged
RolandKrummenacher merged 2 commits intoApr 21, 2026
Merged
Conversation
Add a helper to retry retail prices API requests before failing the runbook. Stream each API page directly to CSV instead of collecting the full dataset in memory, and add periodic progress logging during long exports. This also fails explicitly when the retail prices API returns no records for the configured filter. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ments Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
@microsoft-github-policy-service agree |
helderpinto
approved these changes
Apr 21, 2026
helderpinto
left a comment
Member
There was a problem hiding this comment.
Thank you very much for the contribution, @skmkzyk. The runbook resiliency is definitely better and troubleshooting is easier now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🛠️ Description
Improves the reliability and efficiency of the retail prices export runbook and documents the change in the changelog:
docs-mslearn/toolkit/changelog.mdinUnreleased>Optimization engine v14.Fixes #
📷 Screenshots
N/A – no UI changes.
📋 Checklist
🔬 How did you test this change?
Executed in PowerShell with Pester 5.7.1:
Invoke-Pester -Path ./src/powershell/Tests/Unit/* -Output Detailed→ 120 passed, 8 failed, 4 skippedInvoke-Pester -Path @('./src/powershell/Tests/Integration/Toolkit.Tests.ps1','./src/powershell/Tests/Integration/New-Directory.Tests.ps1') -Output Detailed→ 1 passed, 1 failedIntegration coverage was intentionally limited to non-deploying tests. The following Azure-deploying suites were not run:
src/powershell/Tests/Integration/Hubs.Tests.ps1src/powershell/Tests/Integration/CostExports.Tests.ps1📦 Deploy to test?
🙋♀️ Do any of the following that apply?
📑 Did you update
docs/changelog.md?📖 Did you update documentation?