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

feat: expose function to send minidumps #1067

Merged
merged 27 commits into from
Nov 4, 2024

Conversation

vaind
Copy link
Collaborator

@vaind vaind commented Oct 31, 2024

Adds sentry_capture_minidump(const char*) to send an existing minidump.

This PR builds on top of #1052 but makes significant API changes so I've made a new PR instead of rewriting the old one.

Note: CI failures seem to be unrelated, see #1069

Copy link

github-actions bot commented Oct 31, 2024

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 40ec96e

@vaind vaind changed the title feat/programatic minidump capture2 feat: expose function to send minidumps Oct 31, 2024
@vaind vaind marked this pull request as ready for review October 31, 2024 19:18
@bruno-garcia
Copy link
Member

Thank you @vaind !

Copy link

codecov bot commented Nov 1, 2024

Codecov Report

Attention: Patch coverage is 89.18919% with 4 lines in your changes missing coverage. Please review.

Project coverage is 82.62%. Comparing base (ffdf6ed) to head (40ec96e).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1067      +/-   ##
==========================================
- Coverage   82.65%   82.62%   -0.04%     
==========================================
  Files          53       53              
  Lines        7680     7717      +37     
  Branches     1209     1213       +4     
==========================================
+ Hits         6348     6376      +28     
- Misses       1219     1228       +9     
  Partials      113      113              

Copy link
Collaborator

@supervacuus supervacuus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Only minor things.

src/sentry_core.c Outdated Show resolved Hide resolved
tests/test_capture_minidump.py Outdated Show resolved Hide resolved
include/sentry.h Outdated Show resolved Hide resolved
@vaind vaind merged commit d61acdd into master Nov 4, 2024
25 checks passed
@vaind vaind deleted the feat/programatic_minidump_capture2 branch November 4, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow capturing minidumps programatically
4 participants