mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[GH-ISSUE #759] builds list: add --processing-state filter to include PROCESSING builds #203
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#203
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mithileshchellappan on GitHub (Feb 24, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/759
Summary
Add a
--processing-statefilter flag toasc builds listso agents and CI pipelines can discover builds that are still in thePROCESSINGstate, not justVALIDones.Problem
After uploading a build via
xcodebuild -exportArchive(which handles automatic signing better than standalone upload tools), the build enters aPROCESSINGstate on App Store Connect. During this window (typically 1–5 minutes),asc builds listreturns no results for that build number because the default listing only showsVALIDbuilds.This forces agents into blind polling loops with arbitrary
sleepintervals:The only way I found to discover a processing build was through
asc pre-release-versions builds list --id VERSION_ID, which is non-obvious and requires knowing the pre-release version ID first.Proposal
Add a filter flag to
asc builds list:Supported values
VALIDPROCESSINGFAILEDINVALIDallAPI Support
The App Store Connect API
/v1/buildssupportsfilter[processingState]with valuesPROCESSING,FAILED,INVALID,VALID. This is a server-side filter that maps directly to a query parameter.Scope
internal/asc: addprocessingStatefilter option to builds query parametersinternal/cli/builds/builds_list.go: thread--processing-stateflag through list commandAcceptance Criteria
asc builds list --processing-state PROCESSINGreturns builds currently being processedasc builds list --processing-state allreturns builds in any processing stateVALIDbuilds returnedASC_BYPASS_KEYCHAIN=1Use Case
This is critical for agent-driven CI/CD workflows where the archive → upload → distribute pipeline is fully automated. Without visibility into processing state, agents cannot deterministically wait for a build to become available for TestFlight distribution.