CI and delivery
How a merged change to Seed Exact is tested on GitHub, built and signed on the Clipper Mac, and reaches internal testers through TestFlight.

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 TestFlight

    A 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

.github/workflows/seed-exact.yml

GitHub Actions workflow

Poller and its installer

tools/clipper-deploy.py, tools/install-clipper-ci.sh, tools/test_clipper_deploy.py

The Clipper delivery worker

Build, sign, upload

tools/testflight.sh

Building and uploading to TestFlight

Wait for Apple

tools/testflight-verify.mjs

Verifying a build on App Store Connect

Identities and key files

paths on the build Mac

Signing and credentials

When it goes wrong

logs and status

Troubleshooting a delivery

History

Date

Change

2026-11-30

#1470 brings Seed Exact to main with the workflow and the worker

2026-11-30

#1471 archives the React Native client and removes its EAS workflows

2026-11-30

#1472 moves to the production bundle media.hyper.seed, Mintter Technologies S.L. signing, and ordered delivery of every tested push

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.

User stories

The code described here exists to deliver these stories. Each story lists this page in its Trace (traceability).

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Connections0
The Clipper delivery worker ยท Child document ยท Outgoing linkThe Clipper delivery worโ€ฆGitHub Actions workflow ยท Child document ยท Outgoing linkGitHub Actions workflowSigning and credentials ยท Child document ยท Outgoing linkSigning and credentialsBuilding and uploading to TestFlight ยท Child document ยท Outgoing linkBuilding and uploading tโ€ฆVerifying a build on App Store Connect ยท Child document ยท Outgoing linkVerifying a build on Appโ€ฆTroubleshooting a delivery ยท Child document ยท Outgoing linkTroubleshooting a deliveโ€ฆLinked document ยท Outgoing linkLinked documentLinked document ยท Outgoing linkLinked documentLinked document ยท Outgoing linkLinked documentLinked document ยท Outgoing linkLinked documentLinked document ยท Outgoing linkLinked documentLinked document ยท Outgoing linkLinked documentLinked document ยท Outgoing linkLinked documentLinked document ยท Outgoing linkLinked documentCI and deliveryCI and delivery
Citations 0Children & links 14

Loading child documentsโ€ฆ

Connections show where other documents or comments link to this document.

Related documents

Loading connectionsโ€ฆ