mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[GH-ISSUE #620] coverage: Add missing Xcode Cloud (CI/SCM) relationship endpoints (OpenAPI) #177
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#177
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 @rudrankriyam on GitHub (Feb 18, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/620
Context
These endpoints exist in the offline OpenAPI snapshot (
docs/openapi/latest.json, indexed bydocs/openapi/paths.txt) but are currently missing frominternal/ascclient coverage.Goal
Add ASC client methods for the endpoints below (method + path).
Missing endpoints
Where/what to add
internal/asc/xcode_cloud.go(or a newinternal/asc/client_xcode_cloud_relationships.go).LinkagesResponsewithLinkagesOptionsupport (limit/next).newTestClient(method/path/query).Test plan
newTestClient(assert method + path + query).Acceptance criteria
internal/ascwith tests.ASC_BYPASS_KEYCHAIN=1 make testpasses.@rudrankriyam commented on GitHub (Feb 18, 2026):
@cursor please implement this issue (#620).
Scope: 16 missing Xcode Cloud (CI/SCM) relationship endpoints (GET-only).
Implementation notes:
/v1/ci.../relationships/...and/v1/scm.../relationships/...endpoints.LinkagesResponsefor to-many; for to-one, use a single-linkage response shape (Data ResourceData) like existingBuildAppLinkageResponsepatterns.Acceptance:
internal/asc/with tests.ASC_BYPASS_KEYCHAIN=1 make testpasses.@cursor[bot] commented on GitHub (Feb 18, 2026):
Implemented issue #620: added ASC client coverage + request-shaping tests for the 16 missing Xcode Cloud (CI/SCM) GET relationship endpoints.
What I added
New client methods in
internal/asc/client_xcode_cloud_relationships.go:*LinkagesResponseand accept...LinkagesOption(limit/next):GET /v1/ciBuildActions/{id}/relationships/artifactsGET /v1/ciBuildActions/{id}/relationships/issuesGET /v1/ciBuildActions/{id}/relationships/testResultsGET /v1/ciBuildRuns/{id}/relationships/actionsGET /v1/ciBuildRuns/{id}/relationships/buildsGET /v1/ciMacOsVersions/{id}/relationships/xcodeVersionsGET /v1/ciProducts/{id}/relationships/additionalRepositoriesGET /v1/ciProducts/{id}/relationships/buildRunsGET /v1/ciProducts/{id}/relationships/primaryRepositoriesGET /v1/ciProducts/{id}/relationships/workflowsGET /v1/ciWorkflows/{id}/relationships/buildRunsGET /v1/ciXcodeVersions/{id}/relationships/macOsVersionsGET /v1/scmProviders/{id}/relationships/repositoriesData ResourceData) via new types:GET /v1/ciBuildActions/{id}/relationships/buildRun→CiBuildActionBuildRunLinkageResponseGET /v1/ciProducts/{id}/relationships/app→CiProductAppLinkageResponseGET /v1/ciWorkflows/{id}/relationships/repository→CiWorkflowRepositoryLinkageResponseNew request-shaping tests in
internal/asc/client_http_xcode_cloud_relationships_test.goasserting method + path + query (limit) and next URL passthrough for each to-many endpoint, plus basic GET/path checks for the 3 to-one endpoints.Verification
ASC_BYPASS_KEYCHAIN=1 make test✅make lint✅@rudrankriyam commented on GitHub (Feb 18, 2026):
Closed by PR #627 (merged).