Open MatthewSteeples opened 1 year ago
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?
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
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.
Please see below for command and output
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