Skip to content

OPE-73 Distribute merged Android builds through Firebase - #72

Merged
ivanfenenko merged 3 commits into
mainfrom
feature/ope-73-firebase-app-distribution
Jul 23, 2026
Merged

ivanfenenko merged 3 commits into
mainfrom
feature/ope-73-firebase-app-distribution

Conversation

@ivanfenenko

@ivanfenenko ivanfenenko commented Jul 23, 2026 •

Copy link
Copy Markdown
Collaborator

What changed

  • adds a protected Android App Distribution workflow for every push to main
  • builds and verifies one signed AAB from the exact merged commit
  • authenticates with a dedicated Firebase App Distribution service-account secret
  • targets the private android-internal tester group
  • serializes merge distributions and exposes only stable Firebase release/tester links
  • factors AAB signature verification into a reusable script
  • documents the separate Internal App Sharing certificate, reserved version range, and one-time tester migration from Play internal

Important signing boundary

Google Play re-signs App Distribution AABs with its Internal App Sharing certificate. It cannot update the existing Play-internal installation in place. The tester must uninstall the Play build once before installing the first Firebase release; later Firebase releases update within that channel.

Validation

  • actionlint across all workflows (custom Blacksmith label allowlisted)
  • shellcheck and bash -n for signature scripts
  • :app:assembleDebug
  • signed :app:bundleRelease using the reserved App Distribution version range
  • AAB certificate verification with the extracted helper
  • git diff --check

External acceptance gate

Keep this PR draft and do not merge until the owner approves and completes Firebase/Play linking, creates the private tester group and dedicated service-account key, and stores FIREBASE_APP_DISTRIBUTION_SERVICE_ACCOUNT_JSON in the protected android-release environment.

Linear: OPE-73
Parent: OPE-69


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith with what you need. Autofix is disabled.

@linear-code

linear-code Bot commented Jul 23, 2026 •

Copy link
Copy Markdown
OPE-73 Distribute every merged Android build through Firebase App Distribution

Make every successful merge to main available automatically to the private Android tester group through Firebase App Distribution.

Remaining:

  • Link the Firebase Android app dev.opencode.mobile to its Google Play app so App Distribution can process Play-signed AABs.
  • Create a dedicated App Distribution service account with only Firebase App Distribution Admin and store its JSON key in the protected GitHub environment.
  • Create a private Firebase tester group and enroll the initial owner/tester.
  • Add an automatic push-to-main workflow that builds a signed AAB and uploads it to Firebase App Distribution without publishing another Play track release.
  • Include merge commit context in release notes and expose the Firebase tester/release links in workflow output.
  • Keep PR workflows credential-free and keep App Distribution independent from Play internal release and Test Lab workflows.
  • Verify one merged build reaches Firebase App Distribution and installs through the tester flow.
  • Document signing behavior, tester access, retention, failure handling, and the intentional Android-only boundary.

Use AAB rather than a directly distributed upload-key-signed APK. Firebase App Distribution integrates with Google Play internal app sharing so testers receive Play-signed device APKs and avoid signature conflicts with the existing Play-installed app.

No App Distribution SDK, in-app update alert, public invite link, or iOS distribution is included.

Docs: docs/features/android-release-distribution/

Review in Linear

@ivanfenenko
ivanfenenko marked this pull request as ready for review July 23, 2026 14:20
@ivanfenenko
ivanfenenko merged commit 3141477 into main Jul 23, 2026
4 checks passed
@ivanfenenko
ivanfenenko deleted the feature/ope-73-firebase-app-distribution branch July 23, 2026 14:25
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