Skip to content

fix(release): never withdraw an iOS version Apple has to submit a newer build - #23444

Merged
kodjima33 merged 2 commits into
mainfrom
kodjima33/ios-review-freeze
Oct 23, 2026
Merged

kodjima33 merged 2 commits into
mainfrom
kodjima33/ios-review-freeze

Conversation

@kodjima33

@kodjima33 kodjima33 commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

What

Stops agents and scripts from withdrawing an iOS version Apple already has in order to submit a newer build.

  • app/scripts/mobile_store_promote.py: an iOS promotion now refuses while any other version is WAITING_FOR_REVIEW, IN_REVIEW, waiting for export compliance, processing, PENDING_APPLE_RELEASE or PENDING_DEVELOPER_RELEASE. The refusal happens before any build is selected. Resubmitting the same version is still allowed. The daily train already held on these states and is unchanged.
  • .github/agent-docs/mobile-release-process.md: new section "One iOS version with Apple at a time", including the 2026-10-23 timeline and the exception rule (Nik, in chat, naming the version).
  • app/AGENTS.md: the release line now states the rule. The line was rewritten so the file stays within its size budget.

Why: on 2026-10-23 the iOS review was withdrawn three times (1.0.571 at 04:44Z, 1.0.572 at 12:03Z, 1.0.573 at 15:14Z), each time to ship a newer build. Every withdrawal restarted Apple's queue, so 1.0.570 is still live and 1.0.574 is still waiting. App Store Connect records the train key WGYWSGZJJZ as the remover of the 12:03Z and 15:14Z submissions, and of the Oct 20 and 21 developer-rejects of 1.0.570.

Detection (outside the repo): the Modal cron omi-asc-review-watch checks review submissions every 5 minutes and opens an issue assigned to kodjima33 when one is withdrawn. Tested end to end with a replayed old withdrawal (#23443, closed).

Test plan

  • python -m pytest app/scripts/mobile_store_promote_test.py app/scripts/mobile_daily_train_test.py: 114 pass. New tests cover: every hold state blocks a newer version; prepare_ios refuses before any build lookup; the same version, or nothing in flight, is allowed.

Failure-Class: none

View guided diff Turn on auto-fix

…er build

mobile_store_promote.py now refuses an iOS submission while another version is
waiting for or in review, processing, or approved and unreleased. The release
doc and the app guide state the rule for every agent: on 2026-10-23 three
overnight withdrawals each restarted Apple's queue and kept 1.0.572-1.0.574
out of the store.

Failure-Class: none
@kodjima33
kodjima33 merged commit f2723d6 into main Oct 23, 2026
49 checks passed
@kodjima33
kodjima33 deleted the kodjima33/ios-review-freeze branch October 23, 2026 19:43
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