getsentry/sentry-dart-plugin

Don't upload Flutter framework debug symbols

vaind opened this issue · 4 comments

vaind commented

Now that we've started collecting iOS, macOS and Android debug symbols in getsentry/sentry-dart#1673 we should stop uploading the incomplete symbols that ara available in the local build folder. They're not useful to show any debug information and are just a waste of resources (build time, bandwidth, storage).

@vaind Hey! Do you have a suggestion on how to implement this? AFAIk there is no option in sentry-cli to exclude files/folders ATM

sentry-cli debug-files upload <optional-config-args> filename.so another-file.so ... is the command that uploads just the given files.

Instead of passing a directory, you can explicitly name the files that need to be uploaded. This reduces upload (build) time and saves storage on Sentry servers by not uploading files that are not needed for symbolication.

@vaind Thx for the insight. How would we handle the macOS files expected in the integration test? Can those can be different, depending on what the application uses? Are they also collected outside of users doing the upload for their builds? I'm missing some context here.

Those seem to be standard swift libraries so not part of the Flutter symbol upload cron. Although, being standard libraries I think they should be resolvable from standard symbol servers but better check with some folks from the cocoa SDK.