Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map Proguard mapping uploaded through sentry-cli using options.proguardUuid from SentryAndroid #82821

Open
Mugurell opened this issue Jan 2, 2025 · 2 comments

Comments

@Mugurell
Copy link

Mugurell commented Jan 2, 2025

Environment

SaaS (https://sentry.io/)

What are you trying to accomplish?

Hello,

Trying to setup deobfuscating crash logs using the R8 generated mapping.txt in a big project where we initialize Sentry / want to upload the obfuscation mapping only for certain builds from CI.

Used

  • sentry cli 2.40.0
  • sentry 7.19.0

What we tested:

  • upload the proguard mapping through sentry cli with the following command. The uuid here is a random one generated at build time.

sentry-cli upload-proguard --uuid 2057d747-ffd5-42a7-9e80-c9df05397b21 app/build/outputs/mapping/abc/mapping.txt --auth-token xxx --org xxy --project xxz

  • Setup and initialize Sentry through
SentryAndroid.init(applicationContext) { options ->
    ...
    options.proguardUuid = "2057d747-ffd5-42a7-9e80-c9df05397b21"
}

How are you getting stuck?

I see the mapping uploaded for the right application but there's also a message saying
Image

After submitting a crash report for test I do see every detail as expected, with a proper release.

The documentation mentions that the uuid should be added in the manifest but that would be more convoluted for different flavors and releases.
Should using the same uuid as in options.proguardUuid when uploading the Proguard mapping through sentry cli be enough?
How is the Proguard mapping file matched with a particular release?

Where in the product are you?

Issues - Source Maps

Link

No response

DSN

No response

Version

No response

@getsantry
Copy link
Contributor

getsantry bot commented Jan 2, 2025

Assigning to @getsentry/support for routing ⏲️

@getsantry
Copy link
Contributor

getsantry bot commented Jan 3, 2025

Routing to @getsentry/product-owners-releases for triage ⏲️

@getsantry getsantry bot moved this from Waiting for: Support to Waiting for: Product Owner in GitHub Issues with 👀 3 Jan 3, 2025
@getsantry getsantry bot removed the status in GitHub Issues with 👀 3 Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants