Skip to content

ci(msstore): remove obsolete upload-timeout workaround - #107

Merged
ififi2017 merged 1 commit into
ififi2017:mainfrom
azchohfi:revert-msstore-upload-timeout
Sep 2, 2026
Merged

ci(msstore): remove obsolete upload-timeout workaround#107
ififi2017 merged 1 commit into
ififi2017:mainfrom
azchohfi:revert-msstore-upload-timeout

Conversation

@azchohfi

@azchohfi azchohfi commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

microsoft/msstore-cli#162 is fixed and released, so the workaround added in #68 can come out.

Background

--uploadTimeout was added in msstore-cli v0.4.0 with a CustomParser but no DefaultValueFactory. System.CommandLine only runs a CustomParser when the option is actually present on the command line, so omitting it left the value at default(long)0 — which became the Azure blob client's Retry.NetworkTimeout. Every request was cancelled the instant it started.

Why it is safe to revert now

  • Fixed by microsoft/msstore-cli#163, released in msstore-cli v0.4.2 on 2026-09-02.
  • This workflow installs the CLI with microsoft/microsoft-store-apppublisher@v1.1, whose version input defaults to latest — so the runner now gets v0.4.2 and the documented 100 s default applies.
  • The package here is small, so the 100 s default is comfortable. (Worth knowing: the CLI sets no StorageTransferOptions, so a package under 256 MiB uploads as a single PUT and the timeout covers the whole transfer rather than one chunk. That only matters for much larger packages.)

Note

Because the action tracks latest, a future CLI regression could reach this workflow again with no pin to stop it. Pinning version: is worth considering separately.

Sent as part of a sweep across the repos that referenced msstore-cli#162.

This reverts PR ififi2017#68. The explicit --uploadTimeout was a workaround for
microsoft/msstore-cli#162, where an omitted --uploadTimeout resolved to 0
and cancelled every Azure blob request immediately.

That bug is fixed by microsoft/msstore-cli#163 and shipped in msstore-cli
v0.4.2 (2026-09-02). The action installs 'latest', so the workaround is
no longer needed and the documented 100s default applies again.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a33ffb27-8072-43c0-beb7-a7bc7e8e2229
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

@azchohfi is attempting to deploy a commit to the ififi2017's projects Team on Vercel.

A member of the Team first needs to authorize it.

@ififi2017 ififi2017 changed the title Revert the --uploadTimeout workaround now that msstore-cli#162 is fixed ci(msstore): remove obsolete upload-timeout workaround Sep 2, 2026
@ififi2017

Copy link
Copy Markdown
Owner

Thanks for fixing this upstream and following through here — really appreciate it! The revert looks good. We’ll handle pinning the CLI version on our side.

@ififi2017
ififi2017 merged commit 433c772 into ififi2017:main Sep 2, 2026
5 of 6 checks passed
@azchohfi
azchohfi deleted the revert-msstore-upload-timeout branch September 3, 2026 03:05
@azchohfi

azchohfi commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Happy to help, and sorry for breaking you!

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