Skip to content

fix(preprod): Accept CFBundleVersion groups beyond the third - #657

Merged
trevor-e merged 1 commit into
mainfrom
telkins/preprod-build-number-drop-extra-groups
Aug 13, 2026
Merged

fix(preprod): Accept CFBundleVersion groups beyond the third#657
trevor-e merged 1 commit into
mainfrom
telkins/preprod-build-number-drop-extra-groups

Conversation

@trevor-e

Copy link
Copy Markdown
Member

_parse_build_number rejected period-separated build numbers with more than three integer groups (e.g. 1.2.3.4). The CFBundleVersion spec allows extra groups and requires parsers to drop groups beyond the third, so such build numbers now pack to the same integer as their first three groups (1.2.3.4 -> 1.2.3). All groups must still be numeric (1.2.3.beta stays rejected), and only the first three groups are width-checked. Mirrors sentry's parse_build_number in build_distribution_utils.py (getsentry/sentry#121968).

Deploy only after the sentry backend change is live, so query-side parsing accepts the extra groups before launchpad starts producing them.

_parse_build_number rejected period-separated build numbers with more than three groups. The CFBundleVersion spec allows extra groups and requires parsers to drop groups beyond the third, so 1.2.3.4 now packs to the same build number as 1.2.3. All groups must still be numeric; only the first three are width-checked. Mirrors sentry's parse_build_number in build_distribution_utils.py.

Deploy only after the sentry backend change is live, so query-side parsing accepts the extra groups before launchpad starts producing them.
@sentry

sentry Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

📲 Install Builds

iOS

🔗 App Name App ID Version Configuration
HackerNews com.emergetools.hackernews 3.8 (1) Release

Android

🔗 App Name App ID Version Configuration
Hacker News com.emergetools.hackernews 1.0.2 (13) Release

⚙️ launchpad-test-android Build Distribution Settings

@sentry

sentry Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Size Analysis

2 components analyzed

iOS Builds

Name Configuration Version Download Size Install Size
HackerNews (iOS)
com.emergetools.hackernews
Release 3.8 (1) 6.5 MB (0 B) 9.7 MB (0 B)

Android Builds

Name Configuration Version Download Size Uncompressed Size
Hacker News (Android)
com.emergetools.hackernews
Release 1.0.2 (13) 2.9 MB (+30 B) 6.6 MB (-4 B)

Configure launchpad-test-ios status check rules

@trevor-e
trevor-e marked this pull request as ready for review August 13, 2026 18:28
@trevor-e
trevor-e merged commit 89044a6 into main Aug 13, 2026
26 checks passed
@trevor-e
trevor-e deleted the telkins/preprod-build-number-drop-extra-groups branch August 13, 2026 21:49
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.

2 participants