Skip to content

fix(mobile-release): hold Play commits for Console review again (Play refuses auto-send after 1504) - #23874

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/playsend
Oct 28, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/playsend

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

What changed and why

Codemagic android-internal-auto builds on 2026-10-28 at 03:18Z, 05:55Z, and 06:24Z all uploaded their Android bundles successfully, then failed at Publishing with: “Setting release for Google Play track internal failed. Changes cannot be sent for review automatically. Please set the query parameter changesNotSentForReview to true.”

The previous Play 1504 policy rejection was a currency mismatch fixed in #23852. These new Publishing failures show Play again requires committed changes to be held for an explicit Console review submission.

This change enables CHANGES_NOT_SENT_FOR_REVIEW, adds Codemagic’s changes_not_sent_for_review: true option to both Android Play publishing blocks, and updates the workflow contract fixture and tests. Held changes require the Play Console review submission; while they are held, the daily exposure ladder stays parked and the rollout brake follows the shared flag.

Product invariants affected

These contracts remain satisfied by the Android-only Play review-submission change: INV-AUTH-1 (desktop Firebase session truth), INV-BETA-1 (separate macOS Beta identity), and INV-DATA-1 (production-family Firebase/Firestore authority for Play Internal).

How it was verified

  • scripts/run-release-process-guards.sh — passed.
  • scripts/run-release-process-guard-tests.sh — 98 passed.
  • make preflight — passed all 48 checks.
  • No Codemagic build or Play API call was triggered.

Tests

  • app/scripts/mobile_store_promote_test.py — 31 passed; verifies default held mode and Play commit parameters.
  • app/scripts/mobile_daily_train_test.py — 94 passed; verifies the exposure ladder parks in held mode.
  • backend/test.sh selecting tests/unit/test_mobile_rollout_brake.py — 25 passed; verifies brake commits follow the shared flag.

UI evidence

UI-Evidence: none -- this is a Play publishing configuration change with no product UI edits.

Human step

After the 13:15Z Codemagic build successfully commits its changes to Play, David opens Play Console → Publishing overview and presses Send changes for review. Use data/run-2026-10-12-subscription-overhaul/reports/play-resubmit-steps.md for the release and version-code checks. Its earlier instruction to omit changesNotSentForReview is superseded by the 2026-10-28 Publishing failures above.

Rollback

If Play rejects the parameter again, set CHANGES_NOT_SENT_FOR_REVIEW = False, remove changes_not_sent_for_review from both Codemagic Android publishing blocks, and regenerate the Codemagic workflow contract fixture digests.

Failure class (fixes)

Failure-Class: FC-play-track-promotion-omits-review-hold

View guided diff Turn on auto-fix

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T10:11:16.514664Z b8e0225 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b8e0225c01

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

# exposure ladder because held hops are invisible to the Play API. Play's
# 2026-10-27 error said this parameter must not be set; keep this switch aligned
# with the current Play response and both Codemagic publishing blocks.
CHANGES_NOT_SENT_FOR_REVIEW = True

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Enable the dispatcher's held-changes reminder alongside publishing

With publishing held again, .github/scripts/mobile_distribution.py still sets ANDROID_HELD_CHANGES_MODE = False. Consequently, the scheduled dispatcher suppresses the Console-review reminder in dispatch_mobile_internal_builds.py:260–269 while continuing to advance the Android baseline on successful publishing. After a held publish, subsequent schedules can therefore report no pending changes without telling operators that testers still cannot receive the build. Set the dispatcher flag to true alongside this switch and update its default-mode test so the required manual submission remains visible.

Useful? React with 👍 / 👎.

@Git-on-my-level
Git-on-my-level merged commit 34233ad into main Oct 28, 2026
62 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/playsend branch October 28, 2026 10:54
Git-on-my-level added a commit that referenced this pull request Oct 28, 2026
…ges for review (#23900)

## Summary
- Fail closed before opening a Play edit for halt or resume while Play
holds changes for review.
- Direct operators to halt or resume in Play Console and verify the live
production track.
- Model held commits as pending in the fake Play API and document the
held-mode behavior.

The concrete instance was found in review of #23874: its held commit
parameter correctly queued changes, but the test double made that queued
change appear live. This check belongs at the brake action boundary
because halt/resume require immediate exposure control, while the
brake's edit paths have different semantics.

## Verification
- backend/.venv/bin/python -m pytest
backend/tests/unit/test_mobile_rollout_brake.py -q — 26 passed.
- scripts/run-release-process-guards.sh — passed.
- scripts/run-release-process-guard-tests.sh — 98 passed.
- make preflight — 35 checks passed.

Failure-Class: new


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/23900?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="View guided diff"
src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a>
<a
href="https://www.cubic.dev/action/auto-fix/pr/BasedHardware/omi/23900?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F23900&source=description"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img
alt="Turn on auto-fix"
src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
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