Skip to content

fix(span): enforce StatusCode precedence rules in setStatus per specification#6461

Merged
trentm merged 7 commits into
open-telemetry:mainfrom
newbee1939:fix/setstatus-spec-compliance
Mar 5, 2026
Merged

fix(span): enforce StatusCode precedence rules in setStatus per specification#6461
trentm merged 7 commits into
open-telemetry:mainfrom
newbee1939:fix/setstatus-spec-compliance

test(span): update unit tests to reflect changes in status handling a…

18536bd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 3, 2026 in 0s

95.70% (+0.00%) compared to 30f94fe

View this Pull Request on Codecov

95.70% (+0.00%) compared to 30f94fe

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.70%. Comparing base (30f94fe) to head (18536bd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6461   +/-   ##
=======================================
  Coverage   95.70%   95.70%           
=======================================
  Files         364      364           
  Lines       11772    11777    +5     
  Branches     2743     2747    +4     
=======================================
+ Hits        11266    11271    +5     
  Misses        506      506           
Files with missing lines Coverage Δ
packages/opentelemetry-sdk-trace-base/src/Span.ts 97.83% <100.00%> (+0.06%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.