Repository navigation
Isolate nonfatal failures in span processor callbacks - #9022
ultramancode wants to merge 3 commits into
Conversation
Signed-off-by: Taewoong Kim <ktw2172@gmail.com>
|
|
Pull request dashboard statusWaiting on reviewers · refreshed 2026-12-01 00:53 UTC Review the latest changes. Status above doesn't look right?
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9022 +/- ##
============================================
+ Coverage 90.35% 90.53% +0.18%
- Complexity 11017 11249 +232
============================================
Files 1021 1040 +19
Lines 30128 30699 +571
Branches 3933 4015 +82
============================================
+ Hits 27221 27794 +573
+ Misses 1953 1928 -25
- Partials 954 977 +23 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@jack-berg |
Signed-off-by: Taewoong Kim <ktw2172@gmail.com>
|
I opened #9067 for the log side and used |
Signed-off-by: Taewoong Kim <ktw2172@gmail.com>
Fixes #9021
Log nonfatal failures from
onStart,onEnding, andonEndso they don't propagate to application code. A nonfatal failure in one processor no longer prevents the remaining processors from receiving the same callback.Fatal errors are still rethrown. If
onEndingthrows a fatal error, the SDK marks the span as ended and clears the ending thread reference before the error reaches the caller.Added tests for both nonfatal and fatal failures, including a case where the first processor throws a nonfatal exception and the second still receives the callback.