-
Notifications
You must be signed in to change notification settings - Fork 16
chore(crashtracking): don't bail when no stack frames are received #1494
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
base: main
Are you sure you want to change the base?
Conversation
📚 Documentation Check Results📦
|
🔒 Cargo Deny Results📦
|
97ec147 to
bc0f8aa
Compare
BenchmarksComparisonBenchmark execution time: 2026-02-02 21:59:46 Comparing candidate commit acb16d0 in PR branch Found 1 performance improvements and 1 performance regressions! Performance is the same for 55 metrics, 2 unstable metrics. scenario:profile_add_sample2_frames_x1000
scenario:single_flag_killswitch/rules-based
CandidateCandidate benchmark detailsGroup 1
Group 2
Group 3
Group 4
Group 5
Group 6
Group 7
Group 8
Group 9
Group 10
Group 11
Group 12
Group 13
Group 14
Group 15
Group 16
Group 17
Group 18
Group 19
BaselineOmitted due to size. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1494 +/- ##
==========================================
+ Coverage 71.04% 71.11% +0.07%
==========================================
Files 422 422
Lines 68697 68922 +225
==========================================
+ Hits 48804 49017 +213
- Misses 19893 19905 +12
🚀 New features to boost your workflow:
|
This comment has been minimized.
This comment has been minimized.
183cd4a to
5cc18f4
Compare
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
The merge request has been interrupted because the build 0 took longer than expected. The current limit for the base branch 'main' is 120 minutes. |
|
/merge -f |
|
View all feedbacks in Devflow UI.
Arguments errors:
If you need support, contact us on Slack #devflow with those details! |
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
gregory.leocadie@datadoghq.com cancelled this merge request build |
|
/remove |
|
View all feedbacks in Devflow UI.
|
5cc18f4 to
34ea26d
Compare
gleocadie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a nit
34ea26d to
acb16d0
Compare
|
/merge |
|
View all feedbacks in Devflow UI.
This pull request is not mergeable according to GitHub. Common reasons include pending required checks, missing approvals, or merge conflicts — but it could also be blocked by other repository rules or settings.
gyuheon.oh@datadoghq.com unqueued this merge request |
|
/remove |
|
View all feedbacks in Devflow UI.
|

What does this PR do?
Ticket
Motivation
When the crash collector sends
BEGIN_STACKTRACEfollowed byEND_STACKTRACEwith no frames in between, this indicates that stack collection was attempted and completed, but no frames could be captured.This can happen on:
END_STACKTRACEmarkerPreviously, the code would bail with an error when this happened. This would interfere with crash report sending.
Changes
The with_stack_set_complete method now initializes an empty complete stack (StackTrace::new_incomplete()) when no frames were received. This correctly represents the semantic meaning:
How to test the change?
Unit tests