-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
Missing Sources Context in Sentry (Flutter web) #1686
Comments
Hi, could you provide a minimal reproducible sample project? that would be great |
It seems something wrong with the rust git library. The issue is exactly the same as described in this ticket: getsentry/sentry-cli#1068 We tried the dart version and also the github action version(https://github.com/getsentry/action-release/tree/v1.4.1/), which I think uses node.js SDK underneath, both have the exactly same problem |
A few more background context:
|
@buenaflor Hi we found out that if we use the sentry github action to upload source maps and skip commits, it works. But our logs are still minified. Just wondering if we need to upload all of our dart files to sentry? Currently, we only upload these files as the artifacte bundle. Thanks. |
My team has the same problem. Uploading from GitHub actions and despite matching release (on upload and dynamically), seeing the uploaded artefacts associated to the release still don't see the non minified stack traces and get the error on the events. |
@cristiano2lopes did you upload your dart code to sentry too? I found out that i need to upload my dart code so that sentry can map from the source maps to the source code. Hope that helps |
@kean-fetchpet could you share your final config that worked for you? |
This is my config.
|
Closing this in favor of #1679 @kean-fetchpet If you have an update to your config that worked, please feel free to share |
Platform
Dart
Obfuscation
Disabled
Debug Info
Disabled
Doctor
[✓] Flutter (Channel stable, 3.13.6, on macOS 13.3.1 22E261 darwin-arm64, locale en-AU)
• Flutter version 3.13.6 on channel stable at /Users/keantan/Desktop/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ead455963c (3 weeks ago), 2023-09-26 18:28:17 -0700
• Engine revision a794cf2681
• Dart version 3.1.3
• DevTools version 2.25.0
Version
7.10.1
Steps to Reproduce
Run flutter packages pub run sentry_dart_plugin in github actions.
Expected Result
cannot upload source maps to Sentry
Actual Result
[❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚] 0% reading config values..
Downloading sentry-cli from https://downloads.sentry-cdn.com/sentry-cli/2.[20](https://github.com/fetchpet/fetch_flutter/actions/runs/6544165519/job/17770088032#step:8:21).6/sentry-cli-Linux-x86_64 to .dart_tool/pub/bin/sentry_dart_plugin/sentry-cli
Downloaded Sentry CLI binary checksum verification passed successfully (hash: 043c1480ede8e8e093070fa705e2723b2b556763e5c10eaa020e3923fad2da20).
Sentry CLI downloaded successfully.
☑ reading config values
[❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚] 9% validating config values..
☑ validating config values
[❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚] 18% uploading debug symbols..
☑ uploading debug symbols
Created release web_quote@1.0.0+1
[❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚] 27% uploading source maps..
Source Map Upload Report
Scripts
~/lib/controller/controller.dart
~/lib/controller/ctm.dart
~/lib/controller/pages.dart
~/lib/controller/payment_intent.dart
~/lib/controller/pds.dart
~/lib/controller/plan_receipt.dart
~/lib/controller/welcome_to_club.dart
~/lib/fetch_web_quote.dart
~/lib/firebase_options.dart
~/lib/main.dart
~/lib/quote_and_buy.dart
~/lib/route/route_parser.dart
~/lib/route/router_delegate.dart
☑ uploading source maps
error: unsupported extension name extensions.worktreeconfig; class=Repository (6)
Are you willing to submit a PR?
None
The text was updated successfully, but these errors were encountered: