fix(releases): Use mobile_app_info for preprod build count query#106527
Merged
cameroncooke merged 1 commit intomasterfrom Jan 19, 2026
Merged
fix(releases): Use mobile_app_info for preprod build count query#106527cameroncooke merged 1 commit intomasterfrom
cameroncooke merged 1 commit intomasterfrom
Conversation
The preprodBuildCount query was reading from the deprecated PreprodArtifact.build_version field instead of the new PreprodArtifactMobileAppInfo.build_version field. This was missed when PR #105847 updated other endpoints to use the new model. Co-Authored-By: Claude <noreply@anthropic.com>
rbro112
approved these changes
Jan 19, 2026
BYK
pushed a commit
that referenced
this pull request
Jan 19, 2026
…6527) The preprodBuildCount query was reading from the deprecated `PreprodArtifact.build_version` field instead of the new `PreprodArtifactMobileAppInfo.build_version` field. This was missed when PR #105847 updated other endpoints to use the new model. This caused `preprodBuildCount` to always be `0` for new uploads (after PR #105847 was deployed), which affects: - Mobile Builds tab visibility on release detail pages for non-mobile projects - The count badge displayed on the Mobile Builds tab ### Before - Python project with mobile builds, not showing Mobile Builds tab <img width="643" height="314" alt="Screenshot 2026-01-19 at 16 26 40" src="https://github.com/user-attachments/assets/3fb9f5e9-9a5b-4280-b684-ec9233c01f15" /> ### After <img width="613" height="254" alt="Screenshot 2026-01-19 at 17 54 22" src="https://github.com/user-attachments/assets/b8b6b3ab-3ee5-4d33-b9ac-41c377e15e4b" /> ### Before - Mobile project, not showing count on Mobile Builds tab <img width="609" height="229" alt="Screenshot 2026-01-19 at 16 21 19" src="https://github.com/user-attachments/assets/bb100549-78d3-4111-bd44-093f813ec32c" /> ### After <img width="617" height="238" alt="Screenshot 2026-01-19 at 16 21 48" src="https://github.com/user-attachments/assets/9dfef683-86a0-409a-b61f-9d200701856a" /> Co-authored-by: Claude <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The preprodBuildCount query was reading from the deprecated
PreprodArtifact.build_versionfield instead of the newPreprodArtifactMobileAppInfo.build_versionfield. This was missed when PR #105847 updated other endpoints to use the new model.This caused
preprodBuildCountto always be0for new uploads (after PR #105847 was deployed), which affects:Before - Python project with mobile builds, not showing Mobile Builds tab
After
Before - Mobile project, not showing count on Mobile Builds tab
After