Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,11 @@ Test naming convention: `{MethodName}_{Scenario}_{ExpectedResult}`

```bash
cd apps/mobile
eas build -p android --profile production --auto-submit
eas build -p android --profile production --auto-submit-with-profile internal
```

(`--auto-submit` alone FAILS — eas.json has no `submit.production` profile, only `internal`/`closed`; the profile must be named. For JS-only changes prefer an OTA: `npx eas-cli update --branch production --platform android -m "<msg>"`. CI path: the `mobile-release.yml` workflow_dispatch — requires the repo secret `EXPO_TOKEN`, which is NOT currently set.)

That single command builds the AAB and pushes it to Internal Testing. Service account key is stored in EAS-managed credentials (uploaded via `eas credentials -p android` or the web dashboard), so `eas submit` works from any machine or CI without a local key file. Local mirror at `apps/mobile/google-service-account.json` (gitignored) is a convenience backup, not required. Service account email: `eas-submit-textstack@orbital-heaven-496518-t5.iam.gserviceaccount.com`. Permission granted: "Release apps to testing tracks" for the TextStack app.

## CI/CD
Expand Down
6 changes: 3 additions & 3 deletions infra/scripts/backup-verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ diagnose_startup_failure() {
}

echo "[verify] waiting for postgres to accept connections ..."
for i in {1..60}; do
for i in {1..120}; do
if docker exec "$CONTAINER" pg_isready -U "$PG_USER" -d "$PG_DB" >/dev/null 2>&1; then
break
fi
# Bail early if the container has already exited — no point waiting 60s.
# Bail early if the container has already exited — no point waiting 120s.
if [[ -z "$(docker ps -q --filter "name=$CONTAINER" 2>/dev/null)" ]]; then
echo "[verify] FAIL: verify container exited during startup" >&2
diagnose_startup_failure
Expand All @@ -82,7 +82,7 @@ for i in {1..60}; do
sleep 1
done
if ! docker exec "$CONTAINER" pg_isready -U "$PG_USER" -d "$PG_DB" >/dev/null 2>&1; then
echo "[verify] FAIL: postgres did not become ready after 60s" >&2
echo "[verify] FAIL: postgres did not become ready after 120s" >&2
diagnose_startup_failure
exit 1
fi
Expand Down
Loading