[PR #140] [MERGED] Add xcode-cloud actions command #320

Closed
opened 2026-02-26 21:34:34 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/140
Author: @cameronehrlich
Created: 1/25/2026
Status: Merged
Merged: 1/25/2026
Merged by: @rudrankriyam

Base: mainHead: feature/xcode-cloud-actions


📝 Commits (1)

  • fe29382 Add xcode-cloud actions command to list build actions

📊 Changes

4 files changed (+230 additions, -0 deletions)

View changed files

📝 cmd/xcode_cloud.go (+83 -0)
📝 internal/asc/output_core.go (+4 -0)
📝 internal/asc/xcode_cloud.go (+95 -0)
📝 internal/asc/xcode_cloud_output.go (+48 -0)

📄 Description

Summary

Adds asc xcode-cloud actions --run-id BUILD_RUN_ID to list the individual build actions (steps) within a build run. Useful for diagnosing why builds failed by seeing which specific action (Build, Test, Archive, etc.) failed.

New Command

# List all actions for a build run
asc xcode-cloud actions --run-id "abc123"

# Table format
asc xcode-cloud actions --run-id "abc123" --output table

# Paginate through all results
asc xcode-cloud actions --run-id "abc123" --paginate

Example Output

$ asc xcode-cloud actions --run-id "abc123" --output table
Name         Type   Progress  Status     Errors  Warnings
Build - iOS  BUILD  COMPLETE  SUCCEEDED  0       0
Test - iOS   TEST   COMPLETE  SUCCEEDED  0       2

Features

  • List all actions for a build run with progress and status
  • Show error/warning counts per action
  • Table and markdown output formats
  • Pagination support (--limit, --next, --paginate)

Files Changed

File Purpose
cmd/xcode_cloud.go Added XcodeCloudActionsCommand
internal/asc/xcode_cloud.go Added CiBuildActionsResponse and GetCiBuildActions
internal/asc/xcode_cloud_output.go Added table/markdown formatters
internal/asc/output_core.go Added CiBuildActionsResponse cases

Testing

  • Builds successfully
  • All tests pass
  • Tested with real Xcode Cloud build runs

Checklist

  • Code follows project patterns
  • All output formats supported (json, table, markdown)
  • Pagination support included
  • Help text includes examples

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/140 **Author:** [@cameronehrlich](https://github.com/cameronehrlich) **Created:** 1/25/2026 **Status:** ✅ Merged **Merged:** 1/25/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `feature/xcode-cloud-actions` --- ### 📝 Commits (1) - [`fe29382`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/fe29382e03c92eb16751073ae7664c5419680ca4) Add xcode-cloud actions command to list build actions ### 📊 Changes **4 files changed** (+230 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/xcode_cloud.go` (+83 -0) 📝 `internal/asc/output_core.go` (+4 -0) 📝 `internal/asc/xcode_cloud.go` (+95 -0) 📝 `internal/asc/xcode_cloud_output.go` (+48 -0) </details> ### 📄 Description ## Summary Adds `asc xcode-cloud actions --run-id BUILD_RUN_ID` to list the individual build actions (steps) within a build run. Useful for diagnosing why builds failed by seeing which specific action (Build, Test, Archive, etc.) failed. ## New Command ```bash # List all actions for a build run asc xcode-cloud actions --run-id "abc123" # Table format asc xcode-cloud actions --run-id "abc123" --output table # Paginate through all results asc xcode-cloud actions --run-id "abc123" --paginate ``` ## Example Output ``` $ asc xcode-cloud actions --run-id "abc123" --output table Name Type Progress Status Errors Warnings Build - iOS BUILD COMPLETE SUCCEEDED 0 0 Test - iOS TEST COMPLETE SUCCEEDED 0 2 ``` ## Features - List all actions for a build run with progress and status - Show error/warning counts per action - Table and markdown output formats - Pagination support (`--limit`, `--next`, `--paginate`) ## Files Changed | File | Purpose | |------|---------| | `cmd/xcode_cloud.go` | Added XcodeCloudActionsCommand | | `internal/asc/xcode_cloud.go` | Added CiBuildActionsResponse and GetCiBuildActions | | `internal/asc/xcode_cloud_output.go` | Added table/markdown formatters | | `internal/asc/output_core.go` | Added CiBuildActionsResponse cases | ## Testing - Builds successfully - All tests pass - Tested with real Xcode Cloud build runs ## Checklist - [x] Code follows project patterns - [x] All output formats supported (json, table, markdown) - [x] Pagination support included - [x] Help text includes examples --- 🤖 Generated with [Claude Code](https://claude.ai/code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 21:34:34 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#320
No description provided.