Skip to content

ci(play): refuse uploads while Google is reviewing earlier changes - #50

Merged
Tarquinen merged 1 commit into
devfrom
ci/play-wait-for-review
Nov 12, 2026
Merged

Tarquinen merged 1 commit into
devfrom
ci/play-wait-for-review

Conversation

@Tarquinen

Copy link
Copy Markdown
Member

Every Play upload committed with Google's default, which cancels a review in progress and starts it over. With PR #31's SMS and call log permissions under review, each scheduled release would have restarted a review that can take weeks.

Now both Play steps commit with changesInReviewBehavior=ERROR_IF_IN_REVIEW. If Google is still reviewing, the step fails with a clear error and that track stays as it was.

  • The internal upload moves from r0adkll/upload-google-play, which has no such option, to scripts/play-promote.sh. Given a bundle and mapping file, the script now uploads them first. Google says internal releases aren't reviewed (managed publishing FAQ), but neither that page nor the commit docs say whether an internal-only commit cancels a review on another track. So the internal upload gets the same guard.
  • If Google refuses internal-only commits too, internal testing gets no new builds until the review finishes.
  • A refusal fails the job rather than skipping it. The tag already exists, so a green skip would hide a build that never reached Play. docs/releasing.md says how to recover.

Verification:

  • bash -n, shellcheck and actionlint pass.
  • A dry run with a stubbed curl covered the normal commit and the CHANGES_ALREADY_IN_REVIEW reply on both tracks.
  • Nothing was run against Play.

Play's edits.commit defaults to CANCEL_IN_REVIEW_AND_SUBMIT, so every scheduled release cancelled
any review in progress and restarted it. Both Play steps now commit with ERROR_IF_IN_REVIEW and
fail with a clear error instead, leaving the track as it was.

The internal upload moves from r0adkll/upload-google-play (no such input) to play-promote.sh,
which now uploads the bundle and mapping first when given them. Google's docs don't say whether
an internal-only commit cancels a review elsewhere, so it gets the same guard.

Verified: bash -n, shellcheck, actionlint, and a dry run with a stubbed curl for the normal
commit and the CHANGES_ALREADY_IN_REVIEW answer, on both tracks. Not run against Play.
@Tarquinen
Tarquinen merged commit 2a2517c into dev Nov 12, 2026
3 checks passed
@Tarquinen Tarquinen mentioned this pull request Nov 12, 2026

This branch was previously deployed

1 inactive deployment
release — 734d9ddf Deployed Nov 12, 2026 by Tarquinen via check #147
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