Skip to content

fix(otel): only set Scope.Transaction in SentrySpanProcessor when null#5337

Merged
jamescrosswell merged 3 commits into
getsentry:mainfrom
tsushanth:fix/span-processor-overwrite-transaction
Jul 10, 2026
Merged

fix(otel): only set Scope.Transaction in SentrySpanProcessor when null#5337
jamescrosswell merged 3 commits into
getsentry:mainfrom
tsushanth:fix/span-processor-overwrite-transaction

test: fix test to actually impact the code change

49584fd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 9, 2026 in 0s

74.20% (+0.03%) compared to 04a9854

View this Pull Request on Codecov

74.20% (+0.03%) compared to 04a9854

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.20%. Comparing base (04a9854) to head (49584fd).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5337      +/-   ##
==========================================
+ Coverage   74.16%   74.20%   +0.03%     
==========================================
  Files         508      509       +1     
  Lines       18353    18389      +36     
  Branches     3586     3601      +15     
==========================================
+ Hits        13612    13645      +33     
- Misses       3869     3870       +1     
- Partials      872      874       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.