Open vaind opened 11 months ago
@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.
Now that we've started collecting iOS, macOS and Android debug symbols in https://github.com/getsentry/sentry-dart/pull/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).