Skip to content

Tags

Tags

dev

Toggle dev's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Deliver OX Mobile bundles to the Google Play internal track (#389)

* Deliver OX Mobile bundles to the Google Play internal track

Build an unsigned ARM64 bundle on main, sign it with the existing release
key in the android-release environment, and publish it with the Google Play
Developer Publishing API. The bundle carries the shared release version for
the commit; the Android version code is the separate run-number sequence.

The publisher reads the internal track before and after committing and only
succeeds when the exact version code and version name are present. A receipt
artifact lets a retry verify the same build instead of uploading it twice, and
a code that is not higher than the track is refused, so a late retry cannot
replace a newer build.

No application ID, token endpoint or request host comes from the environment.
The signing script reuses the existing keystore variables and creates no key.

The planner, ci.yml and the merge gate still need their coordinated change;
this commit leaves them untouched.

* Accept numeric strings from the Play API and keep checks bytecode-free

* Keep the Play check from failing on a clean version-name grep

* Wire Android delivery into the planner and CI

Add the android channel to the delivery planner, gate delivery on a
repository variable, and record the marker only after Google Play confirms
the exact version code and version name on the internal track.

plan() reports android_due from android_input changes, suppresses a second
upload while an ox-android-submission receipt covers the outstanding commit,
and treats a missing android marker as uninitialised rather than overdue.
recheck() verifies both channels and rejects a receipt that is missing,
mismatched or superseded so a replacement can be submitted.

ci.yml passes the shared release version to mobile.yml, runs mobile for an
outstanding Android delivery, and adds android-position to advance or reject
the marker. mobile.yml keeps the Play upload behind OX_ANDROID_PLAY_RELEASE=1
so main does not fail before the service account exists. delivery-watch.yml
rechecks Android in the android-release environment, separate from the Apple
key.

The merge gate is unchanged: mobile is already a required lane and the
publish job lives inside it. The shape was posted for coordination in
#389 (comment) before this
commit.

* Let either verified channel advance when the other fails

* Check the version code against every Play track

Google Play rejects a code already used on any track, not only the internal
one. Read the full track list before uploading, require the internal release
to be active before counting it as delivered, and keep the app bundle read on
a single bounded request. Gate the hourly Android recheck on the same
OX_ANDROID_PLAY_RELEASE opt-in as the upload.

* Tighten the Play bundle reader and signer

Keep the app id and track checks on the fixed API path, accept a numeric
version code from either representation, and let jarsigner choose the
signature algorithm for the release key instead of assuming RSA. Make the
publisher executable for the documented manual verify command.

* Verify Play bundles against the upload keystore

* Cover the Play transport and bound untrusted error text

Exercise the one-connection, one-bounded-read transport with a fake
connection, treat a 409 without a machine-readable reason as a concurrent
edit that can be retried, and keep an unrecognised Play reason out of the
log.

* Drop the signing passwords before the Play API call

* Reuse the main release identity and honor Android receipts on dispatch

* Run selected PR lanes and send Play bundles to the media endpoint

* Keep first Play delivery due across later commits and serialize Play edits

delivered/testflight

Toggle delivered/testflight's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Deliver OX Mobile bundles to the Google Play internal track (#389)

* Deliver OX Mobile bundles to the Google Play internal track

Build an unsigned ARM64 bundle on main, sign it with the existing release
key in the android-release environment, and publish it with the Google Play
Developer Publishing API. The bundle carries the shared release version for
the commit; the Android version code is the separate run-number sequence.

The publisher reads the internal track before and after committing and only
succeeds when the exact version code and version name are present. A receipt
artifact lets a retry verify the same build instead of uploading it twice, and
a code that is not higher than the track is refused, so a late retry cannot
replace a newer build.

No application ID, token endpoint or request host comes from the environment.
The signing script reuses the existing keystore variables and creates no key.

The planner, ci.yml and the merge gate still need their coordinated change;
this commit leaves them untouched.

* Accept numeric strings from the Play API and keep checks bytecode-free

* Keep the Play check from failing on a clean version-name grep

* Wire Android delivery into the planner and CI

Add the android channel to the delivery planner, gate delivery on a
repository variable, and record the marker only after Google Play confirms
the exact version code and version name on the internal track.

plan() reports android_due from android_input changes, suppresses a second
upload while an ox-android-submission receipt covers the outstanding commit,
and treats a missing android marker as uninitialised rather than overdue.
recheck() verifies both channels and rejects a receipt that is missing,
mismatched or superseded so a replacement can be submitted.

ci.yml passes the shared release version to mobile.yml, runs mobile for an
outstanding Android delivery, and adds android-position to advance or reject
the marker. mobile.yml keeps the Play upload behind OX_ANDROID_PLAY_RELEASE=1
so main does not fail before the service account exists. delivery-watch.yml
rechecks Android in the android-release environment, separate from the Apple
key.

The merge gate is unchanged: mobile is already a required lane and the
publish job lives inside it. The shape was posted for coordination in
#389 (comment) before this
commit.

* Let either verified channel advance when the other fails

* Check the version code against every Play track

Google Play rejects a code already used on any track, not only the internal
one. Read the full track list before uploading, require the internal release
to be active before counting it as delivered, and keep the app bundle read on
a single bounded request. Gate the hourly Android recheck on the same
OX_ANDROID_PLAY_RELEASE opt-in as the upload.

* Tighten the Play bundle reader and signer

Keep the app id and track checks on the fixed API path, accept a numeric
version code from either representation, and let jarsigner choose the
signature algorithm for the release key instead of assuming RSA. Make the
publisher executable for the documented manual verify command.

* Verify Play bundles against the upload keystore

* Cover the Play transport and bound untrusted error text

Exercise the one-connection, one-bounded-read transport with a fake
connection, treat a 409 without a machine-readable reason as a concurrent
edit that can be retried, and keep an unrecognised Play reason out of the
log.

* Drop the signing passwords before the Play API call

* Reuse the main release identity and honor Android receipts on dispatch

* Run selected PR lanes and send Play bundles to the media endpoint

* Keep first Play delivery due across later commits and serialize Play edits

delivered/dev

Toggle delivered/dev's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Deliver OX Mobile bundles to the Google Play internal track (#389)

* Deliver OX Mobile bundles to the Google Play internal track

Build an unsigned ARM64 bundle on main, sign it with the existing release
key in the android-release environment, and publish it with the Google Play
Developer Publishing API. The bundle carries the shared release version for
the commit; the Android version code is the separate run-number sequence.

The publisher reads the internal track before and after committing and only
succeeds when the exact version code and version name are present. A receipt
artifact lets a retry verify the same build instead of uploading it twice, and
a code that is not higher than the track is refused, so a late retry cannot
replace a newer build.

No application ID, token endpoint or request host comes from the environment.
The signing script reuses the existing keystore variables and creates no key.

The planner, ci.yml and the merge gate still need their coordinated change;
this commit leaves them untouched.

* Accept numeric strings from the Play API and keep checks bytecode-free

* Keep the Play check from failing on a clean version-name grep

* Wire Android delivery into the planner and CI

Add the android channel to the delivery planner, gate delivery on a
repository variable, and record the marker only after Google Play confirms
the exact version code and version name on the internal track.

plan() reports android_due from android_input changes, suppresses a second
upload while an ox-android-submission receipt covers the outstanding commit,
and treats a missing android marker as uninitialised rather than overdue.
recheck() verifies both channels and rejects a receipt that is missing,
mismatched or superseded so a replacement can be submitted.

ci.yml passes the shared release version to mobile.yml, runs mobile for an
outstanding Android delivery, and adds android-position to advance or reject
the marker. mobile.yml keeps the Play upload behind OX_ANDROID_PLAY_RELEASE=1
so main does not fail before the service account exists. delivery-watch.yml
rechecks Android in the android-release environment, separate from the Apple
key.

The merge gate is unchanged: mobile is already a required lane and the
publish job lives inside it. The shape was posted for coordination in
#389 (comment) before this
commit.

* Let either verified channel advance when the other fails

* Check the version code against every Play track

Google Play rejects a code already used on any track, not only the internal
one. Read the full track list before uploading, require the internal release
to be active before counting it as delivered, and keep the app bundle read on
a single bounded request. Gate the hourly Android recheck on the same
OX_ANDROID_PLAY_RELEASE opt-in as the upload.

* Tighten the Play bundle reader and signer

Keep the app id and track checks on the fixed API path, accept a numeric
version code from either representation, and let jarsigner choose the
signature algorithm for the release key instead of assuming RSA. Make the
publisher executable for the documented manual verify command.

* Verify Play bundles against the upload keystore

* Cover the Play transport and bound untrusted error text

Exercise the one-connection, one-bounded-read transport with a fake
connection, treat a 409 without a machine-readable reason as a concurrent
edit that can be retried, and keep an unrecognised Play reason out of the
log.

* Drop the signing passwords before the Play API call

* Reuse the main release identity and honor Android receipts on dispatch

* Run selected PR lanes and send Play bundles to the media endpoint

* Keep first Play delivery due across later commits and serialize Play edits