Closed PlasmaDev5 closed 3 weeks ago
Messages | |
---|---|
:book: | Do not forget to update Sentry-docs with your feature once the pull request gets approved. |
Generated by :no_entry_sign: dangerJS against 67bd3af80234b611247cd8b8febbc806288530f7
Thanks for the change. looks straightforard so far.
Is this PR done and ready for review? because it's marked as such, I'll asume so (if not, you ca use draft PRs in the future so that reviewers don't get notifications yet).
CI is currently failing so that will need to be fixed. Also, the newly added API should have a new test case.
i guess somewhere between draft and final. I for sure not indented to be be merged yet but at the same time i need feedback and review before moving further.
Feel i addressed feedback provided.
Unit test and mentioned example.c
still need doing tomorrow. but wanted to get a little more feedback
Attention: Patch coverage is 9.52381%
with 38 lines
in your changes missing coverage. Please review.
Project coverage is 81.25%. Comparing base (
21c6d0a
) to head (8233951
). Report is 1 commits behind head on master.
Addressed review feedback.
Note: feedback to split declaration and initialization of envelope
creates a lint error.
I also have work towards the test case and will post a draft version in a comment on here once i start work tomorrow for feedback as i am a lot more unsure with how we want to handle this step.
To give a rundown on what i have planned for the tests
I am referencing the attachment tests.
It essentially comes down to using sentry__path_write_buffer
, from what i can tell it should be able to create a .dmp file and just add some unused data. I can then use the new API to send capture this file.
Im not sure if there is a better solution as im still getting to grips with the available API.
@supervacuus Any feedback on the test case stuff? and hopefully all review feedback is addressed.
Closing in favor of:
Resolves: https://github.com/getsentry/sentry-native/issues/1050
Summary
Provides a new function that allows sentry to capture user created minidumps.