GitHub Actions workflow
The Seed Exact workflow: triggers, path filters, each step and why it exists, and what it deliberately does not run.

.github/workflows/seed-exact.yml is the only CI for the mobile app. It runs one job, test, on ubuntu-latest, and its successful push runs are the signal the Clipper worker polls for. Source: seed-exact.yml.

Triggers

Event

Path filter

pull_request

frontend/apps/mobile-exact/**, .github/workflows/seed-exact.yml

push to main

frontend/apps/mobile-exact/**, vault/**, .github/workflows/seed-exact.yml

(seed-exact.yml L3-L13.) Pushes also trigger on vault/** because the job runs the app against the real vault server; a vault change can break compatibility without touching the app. Pull requests that change only vault/ do not run this workflow. The push path filter was added in #1496; before it every push to main ran the checks and was delivered.

Permissions

permissions: contents: read

The job has read access to the repository and no secrets. Signing and upload credentials exist only on the build Mac, see Signing and credentials. The commit status TestFlight / Clipper is posted by the worker with its own gh login, not by this workflow.

Steps

The job's default working directory is frontend/apps/mobile-exact (L18-L45).

#

Step

Why

1

actions/checkout@v4

Full tree, because the vault server source in vault/ is needed

2

oven-sh/setup-bun@v2 with Bun 1.3.10

The vault server pins its own Bun version, different from the app's

3

In vault/: copy that bun to $RUNNER_TEMP/vault-bun, export VAULT_BUN, bun install --frozen-lockfile

The next setup-bun replaces bun on PATH. The copy keeps the vault's runtime reachable; VAULT_BUN tells the real vault harness which binary to spawn

4

oven-sh/setup-bun@v2 with Bun 1.4.2

The app's packageManager pin

5

bun install --frozen-lockfile

App dependencies from bun.lock

6

bun run test

The Bun unit tests

7

bunx playwright-core install --with-deps chromium, then REAL_VAULT=1 bun test ./.tests/real-vault/real-vault.test.ts

The real vault compatibility suite: the app's vault code against the real server, with the real web UI driven in Chromium

8

python3 tools/test_clipper_deploy.py

Unit tests of the delivery worker's admission, retry and status logic, which need no credentials

Two Bun versions run in one job: 1.3.10 executes the vault server as a child process, 1.4.2 executes the tests. Without VAULT_BUN the harness would fall back to mise exec -- bun, which the workflow does not install.

Note that the Exact framework is never checked out in CI. bun run test and the real vault suite import only the app's own TypeScript, so no Exact build is needed.

What is not run

    No iOS build. There is no macOS runner, no Xcode step and no simulator.

    No Contract tests. bun exact.mjs test web and test ios need the Exact checkout and a built app. They are run by whoever makes the change, see Contract UI tests.

    No verify. Visual and relaunch checks are local, see Verify and visual checks.

    No signing or upload. That is the Clipper worker's job after the push run succeeds.

    No Contract compile or typecheck. The root script pnpm mobile:typecheck (exact.mjs contract build app.contract --errors-only) is not called by this workflow.

One test in the Bun suite reads a document from live hyper.media through the test server's proxy, so the job depends on that site being reachable.

How the worker reads the result

The worker lists runs of this workflow with branch=main&event=push. A run with conclusion: null makes it wait; anything other than success is skipped. Re-running a failed or already processed run increases run_attempt, which the worker treats as a request for another delivery attempt after a failure. Details are in The Clipper delivery worker.

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

Unsubscribe anytime

Comments