Repository navigation
Isolate nonfatal failures in span processor callbacks - #9022
ultramancode wants to merge 2 commits into
Conversation
Signed-off-by: Taewoong Kim <ktw2172@gmail.com>
|
|
Pull request dashboard statusWaiting on reviewers · refreshed 2026-11-26 11:19 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.57% +0.21%
- Complexity 11017 11225 +208
============================================
Files 1021 1033 +12
Lines 30128 30618 +490
Branches 3933 4010 +77
============================================
+ Hits 27221 27731 +510
+ Misses 1953 1913 -40
- Partials 954 974 +20 ☔ 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 |
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.