Skip to content

OpenBot Mobile build: a production build from the workflow, uploaded to TestFlight and Play internal testing - #2203

Merged
tylerslaton merged 2 commits into
mobilefrom
openbot-mobile-store-upload
Nov 25, 2026
Merged

tylerslaton merged 2 commits into
mobilefrom
openbot-mobile-store-upload

Conversation

@tylerslaton

Copy link
Copy Markdown
Contributor

What this changes

The OpenBot Mobile build workflow can now make the build the stores take, and have Expo upload it.

  • A production profile in the workflow. That run uses a new GitHub environment, mobile-release, with a token of its own. One reviewer approves the run, and it starts only from main or mobile. The other profiles keep mobile-preview.
  • A submit switch. It adds --auto-submit: Expo uploads the build when it is done, to TestFlight on iOS and to the internal testing track on Google Play. The job still ends as soon as the build has started. With any profile other than production, the run stops at its first step with a sentence that says why.
  • mobile/eas.json has a submit profile for production. Android goes to the internal track.
  • mobile/README.md has a section, "Builds for the stores": what the upload does, what Expo holds for it, and what is still missing.

An upload reaches testers only. A release to the public is still made by hand, in App Store Connect and in the Play Console.

Not in this change

  • ascAppId and appleTeamId for iOS. They come from the app's record in App Store Connect, which does not exist yet. Until they are in eas.json, an iOS upload stops before the build starts and names the missing value.
  • The Apple keys and the Google service account key. They go to Expo with eas credentials, not to this repository.
  • The workflow that publishes updates.

Where it runs

Nothing here runs in the server. The workflow runs on a GitHub runner and only starts a build on Expo.

  • New state that outlives a request? None.
  • What happens on the second replica? Nothing: no server code changes.
  • Anything serialised? No.
  • Anything fanned out to a browser? No.
  • New listener, port, or schedule? No. The workflow is started by hand only.

Boundary and audit

  • Every acting call still goes through the gateway: resolve, decide, audit, then act.
  • New refusals and new failures each write a row. There are none.
  • Nothing new is trusted from the client that the server can resolve itself.

API and database

  • This changes nothing under api/, no app's requests, no database change and no release-policy.json.

Changelog

  • No line. A deployment behaves no differently afterwards: the app is not released yet.

Proof

  • mobile/eas.json resolves with the EAS CLI's own schema (@expo/eas-json of eas-cli 27.11.0): the Android submit profile is {"track":"internal","releaseStatus":"completed"}, and the production build profile keeps its production channel.
  • actionlint and zizmor (with .github/zizmor.yml): no findings.
  • The command the job assembles, with submit on: eas build --profile production --platform android --non-interactive --no-wait --auto-submit. With it off, the same without --auto-submit.
  • From the EAS CLI's source: with --auto-submit the upload is queued right after the build starts, before the --no-wait return. A non-interactive iOS upload without ascAppId fails with "Set ascAppId in the submit profile (eas.json)".
  • The mobile-release environment exists: one required reviewer, and the branches main and mobile only.
  • Earlier today the workflow, from mobile, started an iOS simulator build that finished on Expo.

Not proven: no production build was started from the workflow, and nothing was uploaded to a store. The first needs EXPO_TOKEN in mobile-release. The second needs the store accounts and their keys.

🤖 Generated with Claude Code

…to TestFlight and Play internal testing

- The workflow offers the `production` profile. That run uses the `mobile-release` environment,
  with a token of its own, instead of `mobile-preview`.
- A `submit` switch adds `--auto-submit`: Expo uploads the build when it is done, to TestFlight
  and to Google Play's internal testing track. The job still ends once the build has started.
  With any other profile the run stops at its first step.
- mobile/eas.json: a `submit` profile for production. Android goes to the `internal` track. iOS
  has no `ascAppId` yet, so an iOS upload stops before the build starts and says so.
- mobile/README.md: "Builds for the stores" says what the upload does, what Expo holds for it, and
  what is still missing.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
…t one is made by hand

Expo's current documentation says the first submission creates the app's first release on the
internal testing track, so a first upload by hand is optional.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@tylerslaton
tylerslaton merged commit 90cafad into mobile Nov 25, 2026
19 checks passed
@tylerslaton
tylerslaton deleted the openbot-mobile-store-upload branch November 25, 2026 19:34
AlemTuzlak added a commit that referenced this pull request Nov 26, 2026
Conflicts:
- mark-read.ts: main's version, the reviewed form of what #2188 carried early (#2192).
- mobile-build.yml: mobile's version (#2203: production builds and store upload) over main's
  preview-only one (#2180).
- app-guidelines.md: mobile's rows for OpenBot Mobile, plus main's web manifest row.
- client-version cases and the mobile test: main's 9.0.0 minimums, with mobile's name OpenBot Mobile.
- CHANGELOG.md: both entries.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant