getsentry / getsentry/sentry

Mobile Builds Size Analysis timed out

Open
#121,302 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Product Area: Releases
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 23m
Merged PRs (30d)
607

Description

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

Tried to upload sizeAnalysis on sentry with following information.

sentry {
    url = "https://ly.my.sentry.io"

    // https://docs.sentry.io/platforms/android/size-analysis/
    sizeAnalysis {
        enabled = true
    }
    vcsInfo {

        vcsProvider = "github_enterprise"
        headRepoName = "my-org/my-project"
        headSha = myCommitId
        headRef = "branch_name"
    }
}
$ ./gradlew :app:bundleRelease

> Task :app:uploadSentryBundleBetaRelease
Successfully uploaded 1 file to Sentry
  - /Users/user/AndroidStudioProjects/my_project/app/build/outputs/bundle/release/app-release.aab (https://ly.my.sentry.io/organizations/ly/preprod/size/1)
  INFO    2026-08-05 18:52:00.525653 +09:00 Loaded file referenced by SENTRY_PROPERTIES (/Users/user/AndroidStudioProjects/my_project/app/src/sentry.properties)
Expected Result

Result of Mobile Builds Analysis should be shown at https://ly.my.sentry.io/organizations/ly/preprod/size/1

Actual Result

An build item is listed on Mobile Builds tab.

Image

But, when enter item, analysis is unavailable.

Image

Note: our app size is very big.

$ du -sh app/build/outputs/bundle/release/app-release.aab
297M	app/build/outputs/bundle/release/app-release.aab
297M	total

$ unzip -l app/build/outputs/bundle/release/app-release.aab | grep BUNDLE-METADATA/com.android.tools.build.obfuscation/proguard.map
1079061515  01-01-1981 01:01   BUNDLE-METADATA/com.android.tools.build.obfuscation/proguard.map
Product Area

Other

Link

No response

DSN

No response

Version

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the upload with ./gradlew :app:bundleRelease using the shown sizeAnalysis and vcsInfo configuration, then open the resulting Mobile Builds item in Sentry. The issue names no source file or test, so trace the analysis request from the uploaded 297 MB Android App Bundle and its large proguard.map. Done means the analysis completes and its results are shown instead of timing out.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.