Skip to content

ci(play): release to Play from v* GitHub Releases, with open testing - #3

Merged
R44VC0RP merged 3 commits into
mainfrom
play-open-testing
Nov 8, 2026
Merged

R44VC0RP merged 3 commits into
mainfrom
play-open-testing

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Mirrors the iOS release flow: releases go through GitHub Releases only.

  • A v* tag (gh release create "v$(scripts/version.sh <sha>)" --target "$(git rev-parse <sha>)" --generate-notes) builds the signed bundle, ships it to Google Play internal testing, then promotes it to open testing (beta, the counterpart of iOS's External TestFlight group) with scripts/play-promote.sh.
  • Open testing stays off until the repo variable PLAY_OPEN_TESTING is true.
  • A push to main no longer ships to Play; it still runs the check and refreshes the main-latest sideload APK.
  • scripts/version.sh ports iOS's history-derived versioning (same rules, baseline acc23eab = 0.1.0). Release builds use the tag as versionName.
  • docs/releasing.md, AGENTS.md and the README describe it.

Play Console setup (store listing, content rating, data safety, sign-in details, countries, declarations) is done except the photo/video permission policy, handled in a separate PR that removes the broad photo permissions.

Verified: actionlint, shellcheck, version.sh output, merged-manifest version stamping. The first v* release is the end-to-end check.

The play job now puts the bundle it just shipped to internal testing on the
open testing (beta) track too, the Android counterpart of iOS's External
TestFlight group. It's off until the PLAY_OPEN_TESTING repo variable is
`true`, because Play only accepts open testing releases once the store
listing, content rating, data safety form and privacy policy are done.

scripts/play-promote.sh edits the track through the Play Developer API
(service-account JWT -> access token -> edit, track update, commit) with
curl, jq and openssl. It doesn't re-upload: Play rejects a versionCode it
has seen, and the internal upload already put the bundle in the library.
Errors print the URL and Google's response, never the assertion or token.

Verified: shellcheck and actionlint (only the existing Blacksmith runner
label warning); against a local mock, the JWT verifies with the key's
public half and the script sends the expected edit, track and commit
calls; against Google with a throwaway key, the token endpoint answers
"Invalid JWT Signature", so the request shape is accepted.
The previous commit added scripts/play-promote.sh but couldn't touch the
workflow (the bot's GitHub App has no `workflows` permission). This adds
the two steps from the PR description to the end of the `play` job: a
sparse checkout of the script, then the promote to the `beta` track,
which only runs when the PLAY_OPEN_TESTING repo variable is `true` and
otherwise logs a notice. It runs in its own edit after the internal
upload, so a failed or held open testing release never blocks internal
testing. The header comment now mentions it.

Verified: actionlint (only the existing Blacksmith runner label warning)
and shellcheck on scripts/play-promote.sh. Not yet run against Play; the
first push to main with the variable on is the end-to-end check.
iOS now releases only through GitHub Releases (a v* tag starts Xcode Cloud;
pushing main no longer ships). Android mirrors that:

- The workflow also runs on v* tags. Building the signed release bundle and
  the play job (internal testing, then open testing behind
  PLAY_OPEN_TESTING) now run only for tags. Removed: every push to main
  (and manual runs) shipping to Play internal testing.
- A push to main still runs the check and refreshes the main-latest
  sideload debug APK (not a store release).
- scripts/version.sh ports iOS's history-derived versioning (same rules)
  from this repo's baseline acc23ea = 0.1.0; releases are cut with
  gh release create "v$(scripts/version.sh <sha>)" --target <full sha>.
- A tag build's versionName is the tag without the v (OC_VERSION_NAME);
  other builds keep 0.1.0-<short sha>. Play release names use it too.
- docs/releasing.md, AGENTS.md and README describe the new flow.

Verified: actionlint (only the existing Blacksmith runner label warning),
shellcheck scripts/version.sh, scripts/version.sh prints 0.1.0 for
origin/main and 0.1.2 for this branch; processDebugManifest gives
versionName 0.1.2 / versionCode 99 with OC_VERSION_NAME=0.1.2 and
OC_VERSION_CODE=99, and 0.1.0-abc1234 with only OC_VERSION_SUFFIX.
Not yet run end to end: the first v* release is that check.
@R44VC0RP R44VC0RP changed the title ci(play): promote push-to-main builds to Google Play open testing ci(play): release to Play from v* GitHub Releases, with open testing Nov 5, 2026
@R44VC0RP
R44VC0RP merged commit 3c5d1e1 into main Nov 8, 2026
3 checks passed
Tarquinen added a commit that referenced this pull request Nov 9, 2026
…83 sync

Brings in the release workflow (Play uploads only on v* tags), the Play photo policy change,
the QA fixes and the navigation-bar spacing for the + menu.

Resolutions:
- Photos follow main: no READ_MEDIA permissions, the live PhotoLibraryClient reports
  Unavailable and + → Photos opens the system picker. The photo sheet code stays, unreachable.
  PhotoRequestGate stays replaced by OneShotRequestGate.
- The + menu's navigation-bar inset moved onto AttachmentMenuMeasure (the overlay it was on is
  gone) and into PlusMenuPlacement.foot.
- LocalDrawerVisible (main) folded into LocalDrawerHidden (ours); the activity ring keeps
  main's TalkBack check on the ambient clock.
- Catch Up finish keeps main's modal drawer handling on our motion roles (swap enter/exit).
- Transcript row exits (main) keep RowEntrance.EXIT_DURATION alongside the role-driven
  entrances; LiveTranscript records the cursor as main does and keeps the parse cache.
- Title rolls, the draft list exit and the composer swipe/edit paths keep both sides.
- ServerLinkTests.expectTimeout keeps stepping the clock until the stream ends (up to 100 s):
  the watchdog wakes on another thread and can sleep from a clock read taken before a jump.

Parity docs merged row by row; test totals recounted. Verified: full scripts/check.sh passes;
ios-sync.py check 0 errors.
Tarquinen added a commit that referenced this pull request Nov 9, 2026
…UI work

Brings Ryan's #3, #4, #6 and #7 into the Material 3 branch through PR #5.

Conflicts kept both sides: main's TalkBack, touch and focus fixes with this
branch's Material styling (Jump to Latest as a small FAB on main's touch
tracking, the Export submenu in main's non-focusable menu, the level word
ellipsizing inside the outlined model chip, the Catch Up swipe glyph on its
tone colour, the transcript's row exits with the soft bottom edge).

Verified: scripts/check.sh passes for every module; ios-sync check 0 errors;
parity test totals match Gradle.
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