fix(ci): Android merges stop cutting a new Play Store build every time #26596
main fromrefs/pull/26596/head·merged by juliusmarminge View on GitHubEvery merge to main that touches mobile paths has been building and submitting a new Android binary to the Play Store (internal track), roughly one per merge for at least 9 days, even with no native changes. Android also received no OTAs during that time.
Cause: the reconcile step computes the Android fingerprint with eas fingerprint:generate and looks for a finished build with that hash. app.config.ts sets android.googleServicesFile from T3CODE_ANDROID_GOOGLE_SERVICES_FILE, and @expo/fingerprint hashes that file's contents. The file exists on EAS build servers, but EAS commands skip .env.local, so the CI job never sees it. The hashes never match, and every run takes the "native fingerprint has no build — building" branch. Recent runs all computed the same hash (ea1e8eb2…), and all of them still rebuilt. iOS doesn't use the file, so iOS OTAs kept working.
Fix: after eas env:pull production, pass the file path on to later steps the way mobile-eas-preview.yml already does. If it's missing, fail loudly so the job doesn't silently go back to rebuilding.
Verification: traced through the workflow logs, eas-cli 26 (computeAndMaybeUploadRuntimeAndFingerprintMetadataAsync), and @expo/fingerprint (expoConfigExternalFile hashing of googleServicesFile). I couldn't read the builds' stored fingerprints from EAS directly. The first merge after this should still build once, since no build has the corrected hash yet. Later merges should publish an Android OTA (android/production: OTA published) instead of building. No screenshots: this is a CI-only change.
Scope and approval: a maintainer asked for this fix in this session after spotting the excess Play Store submissions in the EAS dashboard. There's no tracking issue because it's a one-step CI fix. The new step only runs in the production EAS workflow.
Model/harness: Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code
- 1
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:S
Approvability#
Verdict: Approved at
09e0600Macroscope's review found this PR approvable — The workflow now supplies the Android Google services file path to fingerprint generation, preventing unnecessary Play Store builds and enabling matching OTAs. Existing compatibility checks remain intact, and missing configuration stops the job before publishing.
You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).Thread transfer impact#
✅ Thread transfer remains within every enforced ceiling.
Provider Metric Main baseline This PR Impact PR ceiling Codex Total thread wire 5.0 KiB 5.0 KiB −6 B (−0.1%) 6.8 KiB ✅ Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅ Codex Live turn WebSocket wire 1.3 KiB 1.2 KiB −6 B (−0.5%) 2.0 KiB ✅ Codex Live turn WebSocket decoded 21.6 KiB 21.6 KiB 0 B (0.0%) 24.4 KiB ✅ Codex Live turn messages 2 2 0 (0.0%) 8 ✅ Claude Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅ Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅ Claude Live turn WebSocket wire 1.3 KiB 1.3 KiB 0 B (0.0%) 2.0 KiB ✅ Claude Live turn WebSocket decoded 21.9 KiB 21.9 KiB 0 B (0.0%) 24.4 KiB ✅ Claude Live turn messages 2 2 0 (0.0%) 8 ✅ Baseline:
612a8e5· PR result:09e0600· Source CI: successScenario and decoded snapshot size
10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
- Codex decoded thread snapshot: 108.5 KiB
- Claude decoded thread snapshot: 108.8 KiB
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.
No actionable comments were generated in the recent review.
Recent review info-
Run configuration-
- Source mode: Auto
- Repository: pingdotgg/t3code
- Branch: fix/mobile-eas-android-fingerprint
- File: .coderabbit.config.ts
- Commit: 09e0600
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Team
- Run ID:
0dc5c1a1-116e-4bb5-b035-5273749679be
Commits-
Reviewing files that changed from the base of the PR and between 612a8e59f0f2cee5eaaf24507f848c7a634ac3dc and 09e0600778368a72d3e49cf37b74262b51774af9.
Files selected for processing: 1-
.github/workflows/mobile-eas-production.yml
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
-
Walkthrough
-
The production EAS workflow now reads
T3CODE_ANDROID_GOOGLE_SERVICES_FILEfrom the pulled.env.localfile, fails if the variable is missing, and exports its value throughGITHUB_ENV.Changes: Production EAS environment
Priority:Layer / File(s) Summary Pull and export the Android environment value
.github/workflows/mobile-eas-production.ymlAfter eas env:pull, the workflow parses.env.local, requiresT3CODE_ANDROID_GOOGLE_SERVICES_FILE, and exports its value throughGITHUB_ENV. NormalEstimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related PRs
- pingdotgg/t3code#13302: Adds the same environment-pull and export pattern to the preview workflow.
Suggested labels:
size:S,🚀 Mobile Continuous DeploymentSuggested reviewers:
gabrielelpidio,justyannicc
Merge Risk:
Minimal · up to09e06-
The change exports the pulled Google services file path so Android fingerprint reconciliation can match existing builds. No actionable merge-blocking risk was found. The first merge after this change is expected to build once before later merges publish OTAs.
Pre-merge checks:
4-
Check name Status Explanation Title check The title names the change and the symptom it fixes: Android merges stop cutting a new Play Store build on every merge. It matches the changeset, which passes the Google services file path to later st… Linked Issues check Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Check skipped because no linked issues were found for this pull request. Description check The description covers the required Problem, Change, Scope and approval, and Verification sections. It explains the root cause, the workflow change, the rationale for the focused CI fix, verification … Full details: Title check
-
Explanation
The title names the change and the symptom it fixes: Android merges stop cutting a new Play Store build on every merge. It matches the changeset, which passes the Google services file path to later steps in the production EAS workflow so the fingerprint matches an existing build. The title uses a conventional commit prefix and stays short and specific.
Full details: Description check
-
Explanation
The description covers the required Problem, Change, Scope and approval, and Verification sections. It explains the root cause, the workflow change, the rationale for the focused CI fix, verification performed, remaining verification limits, and the model and harness used.
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
-
juliusmarminge merged this237498c
juliusmarminge closed this
Sign in to join this conversation.
macroscopeapp[bot](GitHub profile, opens in a new tab) approved these changes