Skip to content

fix(aso): pin App Store metadata sync to the pubspec version - #230

Merged
borgoat merged 1 commit into
mainfrom
fix/asc-metadata-app-version
Aug 12, 2026
Merged

fix(aso): pin App Store metadata sync to the pubspec version#230
borgoat merged 1 commit into
mainfrom
fix/asc-metadata-app-version

Conversation

@borgoat

@borgoat borgoat commented Aug 12, 2026

Copy link
Copy Markdown
Member

Problem

The app-store job of the Store metadata workflow (run 31571366372) spent 15 minutes in deliver's Cannot find edit app store version... Retrying loop until the job timeout killed it.

deliver can only write version-level metadata (release notes, promotional text) to an editable ("Prepare for Submission") App Store version. The Aug 8 sync was green because iOS 1.7.2 sat editable in ASC; that version's state has since changed (submitted for review?), so ASC currently has no editable version and deliver polls forever — the lane never tells it which version it's shipping.

Fix

Pass app_version (parsed from pubspec.yaml, currently 1.7.3) to upload_to_app_store:

  • No editable version, nothing in review (steady state after a release): deliver creates the version and stages the metadata + release notes — exactly what we want for the next release.
  • Editable version exists: deliver aligns its version string and updates it.
  • A version is mid-review: fails fast with a real ASC error instead of blind-polling to timeout.

Verified locally: lane CWD is fastlane/ (so ../pubspec.yaml resolves), YAML parse yields 1.7.3, fastlane lanes parses clean. Merging this re-triggers the sync (workflow watches fastlane/**).

⚠️ Note: if ASC still holds an editable 1.7.2, this sync will rename it to 1.7.3 — desirable, since iOS 1.7.2 never shipped and Play is already on 1.7.3, but flagging it.

🤖 Generated with Claude Code

deliver can only write version-level metadata (release notes,
promotional text) to an editable "Prepare for Submission" version.
Without app_version it polls for one to appear — and when ASC has none
(e.g. the previous version just went into review) the retry loop burns
the job's 15-minute timeout, as in run 31571366367.

Pinning app_version from pubspec.yaml makes deliver create the version
when it's missing and fail fast with a real ASC error otherwise.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@borgoat
borgoat merged commit 905a5c1 into main Aug 12, 2026
2 checks passed
@borgoat
borgoat deleted the fix/asc-metadata-app-version branch August 12, 2026 10:20
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