When a merged change does not show up in TestFlight, the cause is in one of four places: the GitHub workflow, the worker's admission rules, the build and export, or Apple's processing. This page maps what you can observe to where to look.
Where to look
Evidence | Location |
|---|---|
Commit status | On the commit in GitHub: pending, success, failure, or absent |
Worker errors |
|
Worker output |
|
Worker state |
|
Build logs |
|
LaunchAgent |
|
The README names the first and the build logs as the starting points (README).
Symptoms
Symptom | Cause | Action |
|---|---|---|
No | The push left | None. Check |
No status, and the push did change the app | The Seed Exact workflow run for that push failed, is still running, or did not trigger (the push touched none of the filtered paths). An earlier run still in progress blocks later ones | Open the Actions run. Fix or re-run it. See GitHub Actions workflow |
No status for any recent push | The worker is not running, the Mac is offline or logged out, | Check the LaunchAgent and |
Status stays | Building, exporting, or waiting for Apple. Verification alone waits up to 45 minutes | Read |
Status | Any exception in | Find the failing step below, fix the cause, then request another attempt |
| The app's | Install that Bun, run |
| Exact's | Read the tail of |
A failure before any | The Exact pin could not be fetched, |
|
| The built app's version, build number or bundle id differs from what the script asked for | Check |
|
| Use the |
| The dedicated keychain or its password file is missing or wrong | |
| Signing or upload was refused: an expired certificate or profile, a profile name mismatch, an App Store Connect API error, or a build number Apple already has | Read |
Export fails around file copying | A non system | Do not change that line; check for wrappers that reset |
| Apple rejected the build ( |
|
| The API refused a request. The message carries the HTTP status and the start of Apple's body, for example an authentication or permission error | Read the body. Check the key metadata file and the key's role in App Store Connect |
| The API key cannot see an app with this bundle id | The key belongs to another account, or the app record is missing |
A build was uploaded but the status is | Upload succeeded and verification failed or timed out. The number is | Request another attempt: a new attempt allocates a new build number and builds again |
The same commit never retries after a failure | A failed attempt is reported once and then skipped until the run's | See below |
The scripts contain no special handling for an Apple agreements error (HTTP 403 when a program agreement is unsigned). It would surface as the generic App Store Connect 403 ... message or in export.log; that reading is inferred from the error paths, not from a recorded incident.
Requesting another attempt
"Re-run the latest failed Seed Exact GitHub Actions run to request another attempt before a later push is delivered" (README). Re-running the workflow run in GitHub raises its run_attempt. The worker sees [run id, run_attempt] as a new attempt, allocates a fresh build number and delivers again once the re-run is green. Alternatively the next push to main that passes is built, and it contains the undelivered change because shipped did not move.
Re-running a run whose delivery already succeeded does nothing: the worker skips a commit it has shipped.
Stale build number
Build numbers come from the clock, so a retry after some time gets a higher number. Two cases need care:
Manual runs. BUILD_NUMBER=<n> tools/testflight.sh with a number Apple already has fails at upload. Omit BUILD_NUMBER to take the clock.
Worker restart mid delivery. The worker probes the number with --exists first. If its own earlier upload is there (reserved is set) it only verifies; if someone else used the number it allocates the next minute. A manual upload from the same Mac therefore cannot collide with the worker.
Running a delivery by hand
On the build Mac, from the app directory, with EXACT2 pointing at an Exact checkout at exact.rev:
UPLOAD=0 tools/testflight.sh # sign and export only, proves the signing setup
tools/testflight.sh # full upload and verificationA manual upload does not update delivery.json, so the worker may later build the same commit again under a new number.
User stories
The code described here exists to deliver these stories. Each story lists this page in its Trace (traceability).
US-TEAM-07 Find out why a build did not ship and fix it: Symptoms, causes and actions; requesting another attempt; running a delivery by hand
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime