EC-011: Google Play internal testing: build, upload, install, play
Paired WP: WP-088 Purpose: Take one build from source to a family member’s Sony Bravia through Google Play’s internal testing track, then deliver a second build the same way, with evidence at every step. Procedures are in the runbook; this sheet records results. Status: pre-flight READY (2026-12-01). ⏸ On hold since 2026-12-05, until WP-144’s branch split (Jeff: “Yes, check and hold”). Step 1’s dry run and the TCL release-build launch check are done; build 1 waits, so the build that goes to Play comes from the app’s branch after the split. Step 2 waits for the organization account too. Execution prompt: session-WP-088-2026-12-01.
Evidence rule: every checked box cites a script output, a Play Console
screenshot, a photo of the TV, or a logcat excerpt captured in the run. No
capture, no check. Local results never stand in for external ones: a built
AAB proves nothing about Play, and a sideload proves nothing about a Play
install.
Three acceptances, tracked separately. Steps 2, 3 and 4 each record their own outcome. Step 3 (gameplay) and Step 4 (update) don’t wait for each other; a gap in one is logged and the other goes ahead.
Pre-flight
- WP-088 pre-flight verdict READY
(pre-flight-WP-088-2026-12-01),
signed against docs
a8c22bcand fork837ca576da. - Build machine per the
runbook:
libpng 1.6.59 and FreeType 2.13.3 for both ABIs, the four identity
properties in WSL’s
/root/.gradle/gradle.propertiesand no version properties, bundletool 1.18.3 with the matching SHA-256. Evidence: the pre-flight’s build machine table. bundletool runs from%USERPROFILE%\tools\bundletool\1.18.3\(passed with-BundletoolPathat the pre-flight; the script’s default since): the%LOCALAPPDATA%copy is invisible to WSL. - The package id in
gradle.propertiesmatches the private record (private/tv-app-identity/): Play makes it permanent at the first upload. Compared 2026-12-01 in the pre-flight session: matches (value not recorded publicly).
Step 1 — Build ready (time-box: 1:00)
Pre-execution checks, 2026-12-04 (execution session): main @
15acabb, no change since 09edd36 to WP-088, EC-011, the runbook, the
script or WP-084 (git diff --stat: empty); no other open PR names WP-088;
no ledger.csv, so Step 1 had not run; bundletool SHA-256 A099CFA1…D91028E29
from Windows and from WSL; the upload keystore present, SHA-256 prefix
AFDDBCF2 (as at the pre-flight), readable from WSL.
Static
Get-Help tools/Build-AndroidRelease.ps1 -Fullshows the help and examples (2026-12-04: synopsis, the dry-run and release examples).
Local
-
Dry run:
pwsh tools/Build-AndroidRelease.ps1 -DryRunpasses on the current fork; output captured. Twice, with no-BundletoolPath:| Date | Fork commit | Exit, time | Bundle | SHA-256 | |---|---|---|---|---| | 2026-12-04 21:24 | `323e89d12f` | 0, 140 s | 101,014,554 B | `83b62579…a4269bcd8e` | | 2026-12-05 08:41 | `1dfbfb7375` | 0, 133 s | 101,027,611 B | `f1f9ce38…0d5b8e56ae` | Both: armeabi-v7a and arm64-v8a with sky,terraglyph, libpng, FreeType, no cloud; package `<package-id>`, `26041000` / `2026.4.1`; both ABIs present, native libraries 16 KB aligned; signed with a throwaway key; worktree removed. - Build 1 with the upload key: the script passes with
-VersionCode 26041100 -VersionName 2026.4.1-play.1(or the next code the scheme gives); the certificate check passes; ledger row written; artifact SHA-256 recorded. ⏸ Held (2026-12-05). Not built: the fork’s TV work moves to its own branch in WP-144’s split, and the account is about two weeks out, so a build made now would never be the one uploaded and would use up 26041100. It’s built after the split, from the app’s branch, close to the account’s arrival. - Optional: the bundle’s universal APK installs on the TCL and launches
(a local check only; uninstall it afterwards). Run it only if
adbreaches the TCL and no package with the exact release id is installed there; otherwise record why it was skipped (pre-flight call 4). Done early, 2026-12-05, from the 2026-12-05 dry-run bundle (1dfbfb7375), not from build 1, so the release-only (R8) check doesn’t wait for the hold. The script builds a dry run the same way (the same release build type, so R8 and resource shrinking run); it differs in the signing key, the default version and the checks after signing. - TCL 65Q77K over Windowsadb: Android 14,ro.product.cpu.abilistarmeabi-v7a,armeabi. Before: only the.debugpackages (<package-id>.debug26041078,org.scummvm.scummvm.debug26041010); no package with the exact release id. -bundletool build-apks --mode=universal, signed with a throwaway PKCS12 key made for the check in WSL/tmpand deleted afterwards;universal.apk91,550,116 B.adb install:Successin 7 s;pmread back26041000,primaryCpuAbi=armeabi-v7a,targetSdk=37. -am start -Won the launcher activity:Status: ok, cold start 1,956 ms,ScummVMActivityresumed. Screen capture: ScummVM’s first-run file-access notice in the app’s theme; after OK, the grid launcher with the app’s own name and banner, empty (no games), the version linepowered by ScummVM 2026.4.1git. The process stayed up; the crash buffer was empty; itslogcathad noFATALor exception. Captures kept privately (they show the name) in the release folder’scaptures\. -adb uninstall:Success. After: the same two.debugpackages. Theorg.scummvm.scummvm.debugapp that was in front before the launch was paused by it and was in front again afterwards.
Outcome: ⏸ held before build 1 (2026-12-05). Toolchain, dry run and the release build’s launch on a TV pass; build 1 with the upload key is not made yet.
Step 2 — Acceptance A: pipeline (time-box: 1:30, plus account wall-clock)
- Organization developer account verified (WP-084 D3).
- App created; our app signing key enrolled with PEPK (WP-084 D4). The
App signing page shows the
app-signinganduploadSHA-256 values in WP-084 §Play signing keys (screenshot). - GPL items for build 1 in place (runbook GPL checklist): tag pushed, source location in the release notes, the private identity input ready to give the testers.
- Internal testing track: tester list created, the family tester’s email added, build 1 uploaded, release notes added, rolled out.
- Opt-in link sent by Jeff; tester accepted (Play Console shows them).
- Tester installs on the Bravia from Google Play (remote install from play.google.com or the phone, or the TV’s Play Store); photo or screenshot.
- The app launches on the Bravia with its own name and banner.
- Bravia facts recorded from the device: Android version, Android TV or
Google TV, whether Add Game… opens a system document picker, and
ro.product.cpu.abilistifadbis available.
Outcome: acceptance A pass / gap.
Step 3 — Acceptance B: gameplay (time-box: 1:00)
- Library navigation with the Bluetooth gamepad: pass or gap.
- A legally obtained game is imported by a route that works on the Bravia (the runbook’s game data table, tried in order; the route recorded), detected, and launched. The engine starting is not enough: the game must reach play.
Outcome: acceptance B pass / gap (with the routes tried and what failed; a gap goes to WP-085 exit criterion 3).
Step 4 — Acceptance C: update (time-box: 0:45)
- Build 2 (next version code): built, GPL items for it in place, uploaded to the same track, offered as an update on the Bravia, installed.
- If Step 3 passed first: the game and its saves are still there.
- Runbook gaps found during build 2 fixed in the runbook.
Outcome: acceptance C pass / gap.
Definition of done
Each step’s outcome recorded with captures; acceptances A, B and C all pass; WP-088 exit criteria 1–12 met, §Result written, WORK_INDEX updated.
Out-of-scope captures
One-line follow-ups only (store listing, TV opt-in, closed test, API publishing, CI) — then move on.