DataDog/datadog-ci

[Flutter web] Unable to see code snippets

matiasleyba opened this issue · 3 comments

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

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?

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

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?