Skip to content
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

Sentry Dart Plugin - GA - plan #43

Closed
3 of 6 tasks
marandaneto opened this issue Sep 7, 2022 · 4 comments
Closed
3 of 6 tasks

Sentry Dart Plugin - GA - plan #43

marandaneto opened this issue Sep 7, 2022 · 4 comments

Comments

@marandaneto
Copy link
Contributor

marandaneto commented Sep 7, 2022

@vaind
Copy link
Collaborator

vaind commented Oct 14, 2022

The plugin currently uses current directory as the base for upload-dif. I think this should be changed to build, even despite the reason given in the comment (that users can export debug symbols to a different dir). I think so because currently all binaries from the dart build directory (.dart_tool) are uploaded. In normal apps, there may be a lot of unnecessary stuff and tools. As an example - here's a list of uploaded files from the e integraton-test app - e.g. sentry-cli & those .bin files shouldn't be uploaded at all.

  CMakeDetermineCompilerABI_C.bin: count=8 chunks=8
  CMakeDetermineCompilerABI_CXX.bin: count=8 chunks=8
  libapp.so: count=6 chunks=6
  libflutter.so: count=6 chunks=10
  libhello_santry.so: count=12 chunks=12
  libhello_santry.so.sym: count=4 chunks=4
  sentry-cli.exe: count=1 chunks=2

Similarly, if the app uses integration tests (which would build apps itself), those compiled apps would be uploaded as well.

@vaind
Copy link
Collaborator

vaind commented Oct 14, 2022

Similarly, if including sources, only the lib directory should be included IMO.

@marandaneto
Copy link
Contributor Author

there may be a lot of unnecessary stuff and tools

Yes, this is indeed a problem, but if there are crashes coming from dependencies, or Flutter itself, the symbols won't be in the build folder most likely, I guess?

The plugin currently uses current directory as the base for upload-dif. I think this should be changed to build, even despite the reason given in the comment (that users can export debug symbols to a different dir)

That will make the plugin useless by default since examples of this command already use a sibling folder of build.

@marandaneto marandaneto moved this from In Progress to Backlog in Mobile & Cross Platform SDK Nov 21, 2022
@marandaneto
Copy link
Contributor Author

Closing it since each item of the checklist has its own issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants