Skip to content

Commit b1ac4b3

Browse files
committed
Release: tolerate transient Store submission timeouts
1 parent ab461dc commit b1ac4b3

3 files changed

Lines changed: 17 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ jobs:
325325
326326
- name: Publish MSIX to Microsoft Store
327327
if: startsWith(github.ref, 'refs/tags/')
328+
timeout-minutes: 45
328329
shell: pwsh
329330
run: |
330331
.\build\Publish-MicrosoftStore.ps1 `

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ All notable changes to Q1View are documented here. Releases follow [semantic ver
88

99
---
1010

11+
## [2.7.6] — 2026-07-11
12+
13+
### Packaging
14+
- Microsoft Store release automation now uses longer backoff and additional retries around Partner Center submission operations, covering transient Azure Front Door 504 responses seen while creating and updating Store submissions.
15+
- The Store publish step now has an explicit 45-minute timeout so a stuck Partner Center request fails with bounded logs instead of holding the release workflow indefinitely.
16+
17+
---
18+
1119
## [2.7.5] — 2026-07-11
1220

1321
### Packaging
@@ -297,7 +305,8 @@ All notable changes to Q1View are documented here. Releases follow [semantic ver
297305

298306
---
299307

300-
[Unreleased]: https://github.com/chammoru/Q1View/compare/v2.7.5...HEAD
308+
[Unreleased]: https://github.com/chammoru/Q1View/compare/v2.7.6...HEAD
309+
[2.7.6]: https://github.com/chammoru/Q1View/compare/v2.7.5...v2.7.6
301310
[2.7.5]: https://github.com/chammoru/Q1View/compare/v2.7.4...v2.7.5
302311
[2.7.4]: https://github.com/chammoru/Q1View/compare/v2.7.3...v2.7.4
303312
[2.7.3]: https://github.com/chammoru/Q1View/compare/v2.7.2...v2.7.3

build/Publish-MicrosoftStore.ps1

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ function Invoke-MsStoreCommand {
2020
[string[]]$Arguments,
2121

2222
[int]$Attempts = 1,
23+
[int]$InitialRetryDelaySeconds = 30,
2324
[switch]$AllowFailure
2425
)
2526

@@ -34,7 +35,7 @@ function Invoke-MsStoreCommand {
3435
}
3536

3637
if ($attempt -lt $Attempts) {
37-
$delay = [Math]::Min(60, 10 * $attempt)
38+
$delay = [Math]::Min(180, $InitialRetryDelaySeconds * $attempt)
3839
Write-Host "::warning::$Description failed with exit code $exitCode; retrying in $delay seconds."
3940
Start-Sleep -Seconds $delay
4041
}
@@ -52,21 +53,22 @@ function Remove-PendingStoreSubmission {
5253
Invoke-MsStoreCommand `
5354
-Description "Delete pending Microsoft Store submission" `
5455
-Arguments @("submission", "delete", $ProductId, "--no-confirm", "--verbose") `
56+
-Attempts 2 `
5557
-AllowFailure | Out-Null
5658
}
5759

5860
function Stage-StorePackage {
5961
Invoke-MsStoreCommand `
6062
-Description "Stage Microsoft Store package" `
6163
-Arguments @("publish", $PackagePath, "-id", $ProductId, "--noCommit", "--verbose") `
62-
-Attempts 2 | Out-Null
64+
-Attempts 4 | Out-Null
6365
}
6466

6567
function Publish-StoreSubmission {
6668
Invoke-MsStoreCommand `
6769
-Description "Publish Microsoft Store submission" `
6870
-Arguments @("submission", "publish", $ProductId, "--verbose") `
69-
-Attempts 2 | Out-Null
71+
-Attempts 4 | Out-Null
7072
}
7173

7274
function Get-StoreListingBlock {
@@ -178,7 +180,7 @@ function Update-StoreMetadata {
178180
$ok = Invoke-MsStoreCommand `
179181
-Description "Update Microsoft Store metadata" `
180182
-Arguments @("submission", "updateMetadata", $ProductId, $metadata, "--verbose") `
181-
-Attempts 2 `
183+
-Attempts 3 `
182184
-AllowFailure
183185

184186
if ($ok) {

0 commit comments

Comments
 (0)