Repository navigation
OpenBot Mobile: its Expo project, build profiles, a build workflow, and doctor and bundle checks in CI - #2176
Merged
Merged
Conversation
…ctor and bundle checks in CI The phone app had no path to a build anybody could install, and CI only checked its types. - mobile/app.config.ts names the app's Expo project (copilotkit/openbot). A company that builds the app for its own OpenBot still names its own project with EXPO_PUBLIC_EAS_PROJECT_ID. - mobile/eas.json has the build profiles: development, development-simulator, preview and production, each built for OpenBot Cloud. - The `native types` check also runs Expo's doctor and bundles the JavaScript for iOS and Android, so an import that does not resolve fails the pull request. - .github/workflows/mobile-build.yml starts a build on Expo's build service, by hand. - expo-font is a direct dependency at the SDK's version. expo-symbols asks for any version, so npm installed 57 beside the SDK's 55, and a native build takes one version of a native module. - mobile/README.md says how to run the app, what CI checks and how a build is started. Co-Authored-By: Claude Fable 5.2 <[email protected]>
tylerslaton
requested review from
MikeRyanDev,
davidmckayv,
dustywusty,
guidovizoso,
mxmzb and
samjulien
as code owners
November 25, 2026 04:33
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Merged
10 tasks done
Merged
10 tasks done
tylerslaton
added a commit
that referenced
this pull request
Nov 25, 2026
GitHub lists a hand-started workflow only when its file is on the default branch. The work on OpenBot Mobile is on the long-lived `mobile` branch, so this one file comes to main ahead of it. The file is the same as the one on its way to `mobile` (#2176), so the later merge adds nothing. Co-authored-by: Claude Fable 5.2 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
OpenBot Mobile (
mobile/) had no path to a build that a person can install, and CI checked only its types. This adds the tooling around the app. It changes no screen and no request.mobile/app.config.tsnames the project the builds belong to:openbotin the Expo organizationcopilotkit. A company that builds the app for its own OpenBot still names its own project withEXPO_PUBLIC_EAS_PROJECT_ID, asdocs/configuration.mdsays.mobile/eas.jsonhasdevelopment,development-simulator,previewandproduction. Each one builds the app for OpenBot Cloud (https://api.open.bot).native typescheck now also runs Expo's doctor and bundles the JavaScript for iOS and Android. An import that does not resolve fails the pull request and not a phone.OpenBot Mobile buildstarts a build on Expo's build service, by hand, for a profile and a platform. It does not offer theproductionprofile.expo-fontis now a direct dependency at the SDK's version.expo-symbolsasks for any version, so npm installed 57 beside the SDK's 55. A native build takes one version of a native module, and the doctor fails on two.mobile/README.mdsays how to run the app, what CI checks and how a build is started.CI's doctor leaves out one comparison: the installed packages against Expo's newest patch versions. That list changes when Expo publishes a patch, and it would fail a pull request that changed nothing.
npm run doctoron a laptop still makes it.Where this goes
This targets
mobile, a long-lived branch for OpenBot Mobile, cut frommaintoday. The work on the app lands there and comes tomainin one merge later.mainis merged intomobileoften, so the two do not drift.Before the build workflow can run
main. GitHub lists a hand-started workflow only when its file is on the default branch. Until then, a build is started from a terminal witheas build, which works from any branch.mobile-previewthat holdsEXPO_TOKEN, the token of a robot user of the Expo organization.Known, and not in this change
bun test ./mobile/testsshows 7 failures onmainwhen the files run in one process:tolerant-reader.test.ts'smock.moduleleaks intogenerated-client.test.ts. Each file passes alone. This change does not touch either file.Where it runs
Nothing here runs in the server.
Boundary and audit
API and database
api/, no app's requests, no database change and norelease-policy.json.Changelog
Proof
Run on a Mac, on this branch after a rebase onto
main:npm ci --prefix mobile --ignore-scriptswith npm 10.9 (Node 22's, as CI) and with npm 11: installs from the lockfile.npm run --prefix mobile typecheck: passes.npm run --prefix mobile doctorwith CI's two variables:19/19 checks passed. Before theexpo-fontfix it failed on duplicate native modules.npm run --prefix mobile bundle: one Hermes bundle each for iOS and Android.npx expo config --json: ownercopilotkit, slugopenbot, and the project id. WithEXPO_PUBLIC_EAS_PROJECT_IDset: that id and no owner.mobile/eas.jsonvalidates against the EAS CLI's JSON schema.zizmoronci.ymlandmobile-build.ymlwith the repository's configuration: no findings.bun testontests/frozen-installs.test.ts,scripts/ci-changes.test.ts,desktop/scripts/signing-workflows.test.tsandmobile/tests/generated-client.test.ts: pass.Not proven: the build workflow has never run, because it needs the environment and the token above. The Android run on a machine was not tried.
🤖 Generated with Claude Code