Additional data from a controlled repro (all times UTC, 2026-07-23):
The failure is intermittent, starting roughly Jul 20–21: automatic PR triggers have failed on several days this week (requiring manual starts, e.g.
runs 604 on Jul 21 and 609 on Jul 22), yet also succeeded in between — PULL_REQUEST_OPEN/UPDATE runs fired normally at Jul 22 23:51 (build 611), Jul 23
02:24 (612), and Jul 23 05:36–06:31 (614, 616, 617). The most recent successful automatic trigger was today 06:31:56 (build 617).
Today's first failure, reproduced in a controlled way: a new PR created at 19:46 (clean head commit, no skip markers, same workflow, base main)
produced no build run and no check on the PR after 20+ minutes. Closing and reopening the PR to generate a fresh pull_request event also produced
nothing.
Meanwhile, everything on the API side works:
- PR ingestion: GET /v1/scmRepositories/{repoId}/pullRequests returns the new PR with correct metadata (SCM PR id
098509a9-5243-4741-abca-877aaa5381c4).
- Manual triggering of the same workflow against that same PR works immediately: POST /v1/ciBuildRuns (workflow 2ab3fb84-1c94-4ed1-a84c-b2e6ab84d054,
that pull-request id) created run 888e622d-f3af-4c58-895a-d2f601ab6f3c (startReason MANUAL) at 20:12:17, which SUCCEEDED at 20:20:19.
So Apple's outbound path (ASC → GitHub with the App installation token) is fully healthy — repo access, PR metadata, build execution all work. What's
failing, intermittently, is only the inbound event path: GitHub's pull_request events reaching Xcode Cloud's start-condition evaluation. These are
different mechanisms, so "the integration has the permissions it needs" doesn't clear the webhook path — and since Xcode Cloud integrates as a GitHub
App, its event webhook is registered on Apple's side, not in my repo settings, so I have no delivery log to inspect from my end. Repo id
2fa9eb0d-6b3b-4755-8534-22a039e3ccf0, app com.ArkonLabs.Protego.