-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
when the new version of mapping.txt remains unchanged, it will not be uploaded, resulting in a stack parsing failure. #3132
Comments
hey @jiagengArctuition, can you check the raw json event payload (you can access it by clicking the button as shown on the screenshot)? It should contain a
This is necessary to deobfuscate your stacktraces. If it's missing, then I'd suggest you to open an issue in the respective github action repo. The uuid always has to be present in the payload, even if the mapping file did not change. |
@romtsn Thank you, I indeed couldn't find 'debug_meta' in the JSON payload. Can Sentry provide an official GitHub Action for this task? |
hi @jiagengArctuition |
@jiagengArctuition also, we recommend using our Gradle plugin which does everything automatically for you, so take a look here as well: https://docs.sentry.io/platforms/android/configuration/gradle/ |
@romtsn Thank you very much! The gradle plugin will upload the mapping.txt every time, even if its md5 has not changed. The problem has been solved. |
Integration
sentry-android
Build System
Gradle
AGP Version
7.2.0
Proguard
Enabled
Version
6.29.0
Steps to Reproduce
Our Android app is developed using Flutter, with minimal Java code. When we create a new version, often only the Dart code changes, while the Java code remains the same. Consequently, the mapping.txt file remains unchanged compared to the previous version. When we build the app in GitHub Actions and use the mathieu-bour/setup-sentry-cli@1.2.0 action to upload mapping.txt, it detects that there is no new mapping.txt, and thus, it doesn't upload it. I believe this behavior is reasonable.
However, when a new version with Java exceptions occurs, Sentry does not use the existing mapping.txt for resolution.
Expected Result
Actual Result
The text was updated successfully, but these errors were encountered: