fix: ClientTrace nil pointer panic#7464
Merged
dmathieu merged 9 commits intoopen-telemetry:mainfrom Jun 16, 2025
Merged
Conversation
379ae76 to
b029aa7
Compare
Member
|
Would it make sense to use a noop span instead ? |
Contributor
Author
|
@dmathieu I tried that first but that makes the if statements (in wroteHeaders and wroteHeaderField) that currently check for |
pellared
reviewed
Jun 12, 2025
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7464 +/- ##
=====================================
Coverage 81.4% 81.5%
=====================================
Files 198 198
Lines 17946 17952 +6
=====================================
+ Hits 14621 14634 +13
+ Misses 2927 2918 -9
- Partials 398 400 +2
🚀 New features to boost your workflow:
|
pellared
previously approved these changes
Jun 13, 2025
Member
pellared
left a comment
There was a problem hiding this comment.
Can you please resolve the conflict?
1b508ca to
5e894f9
Compare
5e894f9 to
e726533
Compare
Contributor
Author
|
@pellared Sorry I had to rebase (and I squashed the changes as coffee detox made me fetch the wrong remote 🙈) |
pellared
reviewed
Jun 13, 2025
pellared
approved these changes
Jun 16, 2025
dmathieu
approved these changes
Jun 16, 2025
Contributor
Author
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Good day,
During our peak hours we have noticed the following
invalid memory address or nil pointer dereferencewhich causes pod restarts. The goal of this PR is to avoid these panics.Thanks for reviewing and let me know what you think.
Have a great day!