Skip to content

OPE-73: Distribute every merged Android build through Firebase App Distribution #575

Closed

Description

@ivanfenenko

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

Implemented

  • Added an automatic push-to-main workflow that builds and signature-verifies one APK from the exact merged commit
  • Uses a dedicated protected service-account secret and targets group alias android-internal
  • Includes merge subject and short SHA in release notes
  • Exposes stable Firebase release/tester links without printing the expiring binary URL
  • Serializes runs without cancellation and keeps PR workflows credential-free
  • Keeps App Distribution independent from Play internal release and Test Lab workflows
  • Documented signing, versioning, tester migration, retention, failure handling, and the Android-only boundary

Owner setup and acceptance

  • Link Firebase Android app dev.opencode.mobile to its existing Google Play app
  • Create private Firebase tester group android-internal and enroll the initial owner/tester
  • Create dedicated service account with only Firebase App Distribution Admin
  • Store JSON key as FIREBASE_APP_DISTRIBUTION_SERVICE_ACCOUNT_JSON in the protected android-release GitHub environment
  • Merge PRs OPE-73 Distribute merged Android builds through Firebase #72/OPE-73 Distribute signed APKs for draft Play app #73 and confirm one automatic App Distribution run succeeds
  • Uninstall the Play-internal build once, install the Firebase release on the Pixel 9, and confirm it opens

Signing boundary

Direct APK delivery is used while the Play app remains an unreviewed draft. The APK is signed with the upload key, which differs from Play App Signing, so the first Firebase install required a one-time uninstall. App Distribution reserves 1000000000 + github.run_number for monotonic version codes inside the channel.

No App Distribution SDK, in-app update alert, public invite link, extra Play-track release, Test Lab trigger, or iOS distribution is included.

PRs: #72, #73
Docs: docs/features/android-release-distribution/


Imported from Linear OPE-73. Linear status: Done. Priority: Medium. Created 2026-07-23. Completed 2026-07-23.
Parent: OPE-69.
Related: OPE-102.

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added
    android
    improvement
    priority: medium
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

androidimprovementpriority: medium

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions