mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 23:55:51 +03:00
[PR #43] [MERGED] feat: add Xcode Cloud CLI support for triggering and monitoring workflows #252
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#252
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?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/43
Author: @swiftlysingh
Created: 1/22/2026
Status: ✅ Merged
Merged: 1/23/2026
Merged by: @rudrankriyam
Base:
main← Head:feature/xcode-cloud-cli📝 Commits (4)
88ead69feat: add Xcode Cloud CLI support for triggering and monitoring workflows95eba91feat: harden xcode-cloud flows and add listsc7393eetest: stress paginate build runsade29a4fix: harden xcode-cloud pagination and ref matching📊 Changes
11 files changed (+2537 additions, -12 deletions)
View changed files
📝
Agents.md(+17 -0)📝
README.md(+44 -0)📝
cmd/commands.go(+1 -0)📝
cmd/commands_test.go(+118 -0)➕
cmd/xcode_cloud.go(+531 -0)📝
internal/asc/client.go(+60 -11)📝
internal/asc/client_http_test.go(+212 -0)📝
internal/asc/client_test.go(+49 -1)➕
internal/asc/xcode_cloud.go(+915 -0)➕
internal/asc/xcode_cloud_output.go(+173 -0)➕
internal/asc/xcode_cloud_test.go(+417 -0)📄 Description
Summary
Adds Xcode Cloud integration to the CLI, enabling users to trigger workflows and monitor build runs directly from the command line.
Features
New Commands
asc xcode-cloud run- Trigger an Xcode Cloud workflow buildasc xcode-cloud status- Check the status of a build runCapabilities
--workflow "CI Build") or by ID (--workflow-id)--branch "main") or by ID (--git-reference-id)--waitflag (with configurable--poll-intervaland--timeout)Example Usage
Testing
Unit Tests
Added comprehensive tests in
internal/asc/xcode_cloud_test.gocovering:Added CLI tests in
cmd/commands_test.gocovering:Manual Testing
Tested against a real App Store Connect account:
--waitto poll until build completionasc xcode-cloud status --run-idreturns correct build information including:Files Changed
cmd/xcode_cloud.gocmd/commands.gocmd/commands_test.gointernal/asc/xcode_cloud.gointernal/asc/xcode_cloud_output.gointernal/asc/xcode_cloud_test.gointernal/asc/client.goREADME.mdAgents.mdNotes
--waitflag respectsASC_TIMEOUTenvironment variable for long-running builds🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.