Delivery is split in two. GitHub Actions runs the tests on hosted Linux runners and holds no signing material. A Mac named Clipper polls GitHub for green pushes to main, builds and signs the iOS app locally, uploads it to TestFlight, and reports back with a commit status. Nothing on GitHub can sign or upload.
From merge to a tester's phone
sequenceDiagram
participant Dev as Pull request
participant GH as GitHub Actions
participant W as Clipper worker
participant X as testflight.sh
participant ASC as App Store Connect
participant T as Tester
Dev->>GH: merge to main
GH->>GH: Seed Exact workflow, push event
W->>GH: poll runs every 180 s
GH-->>W: run succeeded for commit
W->>W: skip if app directory equals shipped commit
W->>GH: status TestFlight / Clipper pending
W->>X: bun install, bun run test, build
X->>X: unsigned archive, xcarchive, re-seal
X->>ASC: xcodebuild exportArchive, upload
X->>ASC: poll build every 30 s
ASC-->>X: VALID and IN_BETA_TESTING
X->>W: verified, notification sent with fleet-notify
W->>GH: status success
T->>ASC: update in TestFlightA pull request that touches the app runs the GitHub Actions workflow: Bun tests, the real vault suite and the worker's unit tests.
After merge, the same workflow runs for the push to main.
The Clipper worker, a LaunchAgent that starts every 180 seconds, lists push runs in order. It waits for a run still in progress, skips failed runs, and skips a push whose frontend/apps/mobile-exact directory is identical to the last commit it shipped.
For a push that changed the app it allocates a build number, posts the TestFlight / Clipper status as pending, checks out that exact commit, runs the Bun tests again, and runs testflight.sh.
The script builds an unsigned device archive with Exact, wraps it as an .xcarchive, and lets xcodebuild -exportArchive sign it with the local distribution identity and upload it. See Signing and credentials.
testflight-verify.mjs polls App Store Connect until the build is processed and in internal beta testing, then sends a notification.
The worker posts success or failure on the commit and records the commit as shipped.
Version stays at 0.1.0 from package.json; only the build number changes per delivery.
The pieces
Piece | File | Page |
|---|---|---|
Test workflow |
| |
Poller and its installer |
| |
Build, sign, upload |
| |
Wait for Apple |
| |
Identities and key files | paths on the build Mac | |
When it goes wrong | logs and status |
History
Date | Change |
|---|---|
2026-11-30 | #1470 brings Seed Exact to |
2026-11-30 | #1471 archives the React Native client and removes its EAS workflows |
2026-11-30 | #1472 moves to the production bundle |
2026-12-02 | #1496 builds only when the app directory changed, after 22 builds in two days of which two changed the app |
More context is in History and the React Native archive and From user workflow to TestFlight. What CI does not cover is listed in Testing.
In this section
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime