DataDog / datadog-ci

Use Datadog from your CI.
https://datadoghq.com
Apache License 2.0
119 stars 52 forks source link

[Flutter web] Unable to see code snippets #1322

Open matiasleyba opened 1 month ago

matiasleyba commented 1 month ago

Bug description

Bug description

After uploading JS source maps correctly I still see the logs minified.

image

Command to build web application:

flutter build web --release -t lib/main_development.dart --source-maps --build-number=7 --dart-define=FLUTTER_WEB_USE_SKIA=true --dart-define=.....

Command to update symbols:

datadog-ci flutter-symbols upload --service-name flutter-app --dart-symbols-location ./debug-info --android-mapping-location build/app/outputs/mapping/developmentRelease/mapping.txt --ios-dsyms --web-sourcemaps --minified-path-prefix /

output: image

Describe what you expected

No response

Steps to reproduce the issue

No response

Additional context

No response

Command

flutter-symbols

fuzzybinary commented 1 month ago

Hi @matiasleyba,

Can you try setting your minified-path-prefix to the full URL that you'll be deploying to, in this case https://app-dev.{etc}.com?

matiasleyba commented 1 month ago

Hi @matiasleyba,

Can you try setting your minified-path-prefix to the full URL that you'll be deploying to, in this case https://app-dev.{etc}.com?

@fuzzybinary I deployed a new version and updated minified-path-prefix to use the full URL, but got the same result.

image

cli output: image

fuzzybinary commented 1 month ago

Hi @matiasleyba

I can't see anything obvious that could be wrong. Can you open a support ticket with Datadog so we can gather some more information?