Skip to content
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

Poll command doesn't Poll #24

Open
MatthewSteeples opened this issue Nov 20, 2023 · 3 comments
Open

Poll command doesn't Poll #24

MatthewSteeples opened this issue Nov 20, 2023 · 3 comments

Comments

@MatthewSteeples
Copy link

Please see below for command and output

msstore submission poll 9NXXXXXXXXXX

Found Pending Submission.
Submission Status - Certification

✅ Retrieving Pending Submission
✅ Submission retrieved
Submission commit success! Here is some data:
Packages:
File_2.0.39235.0_x86_bundle.msixupload
File_2.0.44817.0_x86.msixbundle
File_2.0.45109.0_x86.msixbundle

The three files listed are part of the submission that is pending, and the submission is at the certification stage, so those bits are correct. The command doesn't retry though, it just exits

@azchohfi
Copy link
Contributor

azchohfi commented Dec 1, 2023

The poll command waits until the submission status is not "CommitStarted".
We could poll until we hit a *Failed state, a Published state, or a Release state (and the submission has a manual publish mode), but Certification can take days to finish. Are you running the tool locally or on a CI/CD env?
We assumed users wouldn't want to lock a pipeline/release until it is 100% done, since it can take that long.
We could timeout after an hour, or have it as a parameter.

What is your specific scenario?

@MatthewSteeples
Copy link
Author

I was just experimenting so don't (yet) have a scenario for it. The docs may need updating though:

https://learn.microsoft.com/en-gb/windows/apps/publish/msstore-dev-cli/submission-poll-command - Polls until the existing submission is PUBLISHED or FAILED

@jakubmeysner
Copy link
Contributor

jakubmeysner commented May 22, 2024

The current behavior makes the most sense compared to what's described in the docs, but for some use cases a flag allowing you to poll until the submission is published or fails could be useful.

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

No branches or pull requests

3 participants