Repository navigation
feat(mobile): daily store train queues the newest builds for a human release - #20797
Merged
Merged
Conversation
mobile_store_promote.py gains the pieces the daily train composes without changing the manual lane's behavior: submit_ios() accepts the live locale list and sends --app-store-version-localizations (a bare --whats-new only covers the primary locale, which Apple rejects), select_play_release() takes the source track and parses Play Console names like "1.0.554 (1335)", play_edit()/ play_track() split out of prepare_android(), and submit_android() takes status="completed"|"draft". Verification: python3 app/scripts/mobile_store_promote_test.py (12 tests OK).
…release
A GitHub cron (14:00 UTC) starts the Codemagic mobile-daily-train workflow on
main, which runs app/scripts/mobile_daily_train.py --platform both.
iOS: the newest processed TestFlight build above the live App Store version is
submitted for review with release type MANUAL and What's New for every live
locale. Anything WAITING_FOR_REVIEW / IN_REVIEW holds the train (one submission
in flight). An approved but unreleased version (PENDING_DEVELOPER_RELEASE) is
left alone when it already carries the newest build; otherwise its completed
review submission is cancelled (PATCH /v1/reviewSubmissions/{id} canceled=true)
and the newer build is submitted. Versions are read per state because the
unfiltered App Store Connect listing returns only live versions.
Android: the newest internal/alpha build above the live production release is
written to production as a draft; each run overwrites the draft, a human
presses Release in Play Console.
Release notes are collected from unreleased fragments in the checkout so a
submission never ships empty notes; TRAIN_DRY_RUN=true prints the plan only.
The Codemagic contract fixture digests are refreshed with the guard's loader.
Verification: python3 app/scripts/mobile_daily_train_test.py (25 OK),
python3 .github/scripts/test_dispatch_mobile_daily_train.py (3 OK),
actionlint on the workflow, scripts/run-release-process-guards.sh and its
97-test suite, and a live read-only dry run against App Store Connect:
plan=hold because 1.0.554 (build 1334) is WAITING_FOR_REVIEW today.
The release-process contract documents the train's iOS/Android decisions and the Play draft; app/AGENTS.md points at it within its size budget.
aryanorastar
added a commit
to aryanorastar/omi
that referenced
this pull request
Oct 6, 2026
BasedHardware#20797 added .github/workflows/mobile_daily_train.yml without a ci-budget entry, so check_ci_budget.py fails on main and on every branch whose diff selects the ci-budget gate. Entries come from `check_ci_budget.py --refresh`, with rationales taken from the workflow itself: a daily 14:00 UTC schedule plus manual dispatch, one ubuntu job that only calls the Codemagic API, and no pull_request or push trigger. Co-Authored-By: Claude Opus 5.5 <[email protected]>
9 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A daily store release train for the mobile app. A GitHub cron (14:00 UTC) starts the Codemagic
mobile-daily-trainworkflow onmain, which runsapp/scripts/mobile_daily_train.py --platform both. Nothing auto-releases: a human still presses Release.iOS
PATCH /v1/reviewSubmissions/{id}canceled=true) and the newer build is submitted. "If not released by a human, reject and replace with newer."Android
Release notes come from the unreleased fragments in the checkout, so a submission never ships empty notes.
TRAIN_DRY_RUN=trueprints the plan only.Refactor
mobile_store_promote.pygains reusable pieces without changing the manual lane:submit_ios()takes the live locale list and sends--app-store-version-localizations(a bare--whats-newonly covers the primary locale, which Apple rejects),select_play_release()takes the source track and parses Play names like "1.0.554 (1335)",play_edit()/play_track()split out ofprepare_android(),submit_android()takesstatus="completed"|"draft".Docs
Release-process contract documents the train's decisions and the Play draft;
app/AGENTS.mdpoints at it.Verification
python3 app/scripts/mobile_daily_train_test.py→ 25 OKpython3 .github/scripts/test_dispatch_mobile_daily_train.py→ 3 OKpython3 app/scripts/mobile_store_promote_test.py→ 12 OKactionlinton the workflow;scripts/run-release-process-guards.sh(97 tests) green; Codemagic contract fixture digests refreshed with the guard's own loader.Product invariants affected
(path-based citations from
scripts/pr-preflight --suggest; the train only changes release plumbing and store submission, no auth/data/beta behavior)