[Read] Wait for a build or build upload to finish processing
asc_build_waitWait until an App Store Connect build or build upload reaches a terminal state, returning SUCCESS or FAILED with Apple's last-seen status.
Instructions
Read-only (polls, doesn't change anything). Waits for a build (processingState) or a build upload (BuildUpload state) to reach a terminal state — VALID/COMPLETE (success) or FAILED/INVALID (failure) — polling on an interval up to a timeout. Give exactly one of buildId or buildUploadId. Returns SUCCESS, FAILED, TIMEOUT, or CANCELLED, plus Apple's last-seen state, any errors, and when it was last checked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildId | No | Build id to wait on (mutually exclusive with buildUploadId) | |
| buildUploadId | No | Build upload id to wait on (mutually exclusive with buildId) | |
| timeoutSeconds | No | Give up after this many seconds | |
| pollIntervalSeconds | No | Seconds between checks (minimum 5, to avoid hammering the API) |