Repository navigation
fix(mobile-release): hold Play commits for Console review again (Play refuses auto-send after 1504) - #23874
Conversation
… refuses auto-send after 1504)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 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 |
There was a problem hiding this comment.
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 👍 / 👎.
…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. -->
What changed and why
Codemagic
android-internal-autobuilds 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’schanges_not_sent_for_review: trueoption 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.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.shselectingtests/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.mdfor the release and version-code checks. Its earlier instruction to omitchangesNotSentForReviewis superseded by the 2026-10-28 Publishing failures above.Rollback
If Play rejects the parameter again, set
CHANGES_NOT_SENT_FOR_REVIEW = False, removechanges_not_sent_for_reviewfrom 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