Repository navigation
fix(release): never withdraw an iOS version Apple has to submit a newer build - #23444
Merged
Merged
Conversation
…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
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
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 isWAITING_FOR_REVIEW,IN_REVIEW, waiting for export compliance, processing,PENDING_APPLE_RELEASEorPENDING_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-watchchecks 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_iosrefuses before any build lookup; the same version, or nothing in flight, is allowed.Failure-Class: none