Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

Deleted Xcode Cloud product still returned by /v1/ciProducts; Create Workflow now fails

Xcode 27.0, iOS app, GitHub Cloud. Filed via developer.apple.com/contact and Feedback Assistant (FB number to follow); posting in case anyone has seen this self-heal.


What happened

- Set up Xcode Cloud this morning, two workflows. Build #3 ran Analyze/Build green on a PR, so the pipeline worked.

- ~15:00 the repo mirror froze: a PR merged at 18:10 never triggered the main workflow, and an already-merged PR still showed as open.

- ~19:00 Xcode's Cloud tab: "An internal error occurred while authenticating." The Xcode Cloud tab vanished from App Store Connect on the web. System Status green.


What the API says (team API key, independent of Xcode's login)


GET  /v1/ciProducts?include=primaryRepositories   500 UNEXPECTED_ERROR, every time
GET  /v1/ciProducts/{id}/primaryRepositories      200  (repo link resolves fine on its own)


Xcode and the web both load with that include, hence the auth error / missing tab. The "authenticating" message is misleading: deleting `~/Library/Developer/Xcode/UserData/XcodeCloud` brought the tab back, into the Get Started onboarding.


Tried the only reset the UI wouldn't let me do:


DELETE /v1/ciProducts/{id}     204
GET    /v1/ciProducts/{id}     404
GET    /v1/apps/{app}/ciProduct 404
GET    /v1/ciProducts          200, STILL lists the deleted id   <- 45+ min, polled every 3 min
DELETE /v1/ciProducts/{id}     404 now


Because of that orphaned entry, Xcode → Create Workflow fails: "Failed to create workflow. An unexpected error occurred." and `/apps/{app}/ciProduct` stays 404.


Also uninstalled the Xcode Cloud GitHub App entirely; 30 min later `/v1/scmProviders` and `/v1/scmRepositories` still list the provider and repos. No cascade.


Dead ends: `POST /ciProducts` 403, `PATCH relationships/primaryRepositories` 403, `DELETE scmProviders|scmRepositories` 403. Web "Remove Xcode Cloud" unreachable since the tab won't render.


Questions

1. Has an orphaned `ciProducts` entry ever cleared on its own for you, and how long did it take?

2. Any user-reachable purge path I've missed?

3. Should the GitHub App uninstall cascade to scmProviders`/`scmRepositories`?


Trace ids: `d4b1165164dfc962dae834b672ada029`, `fbf240e08a78733b84d4d9b83a707baf`. Happy to run further calls against this team. Distribution is unaffected (`xcodebuild -exportArchive` uploads fine); it's only CI that's lost.




0 replies

There are no replies.