Skip to content

fix: optimize BatcherScope.applyToItem to avoid repeated computed pro…

8121614
Select commit
Loading
Failed to load commit list.
Merged

refactor: Add attributable protocol for typed attribute values #7077

fix: optimize BatcherScope.applyToItem to avoid repeated computed pro…
8121614
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 9, 2026 in 0s

84.776% (+0.060%) compared to 33ade5e

View this Pull Request on Codecov

84.776% (+0.060%) compared to 33ade5e

Details

Codecov Report

❌ Patch coverage is 89.94253% with 35 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.776%. Comparing base (33ade5e) to head (8121614).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
Sources/Swift/Protocol/SentryAttributeValue.swift 80.808% 19 Missing ⚠️
Sources/Swift/Protocol/SentryAttribute.swift 86.607% 14 Missing and 1 partial ⚠️
...ources/Swift/Protocol/SentryAttributeContent.swift 98.913% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              main     #7077       +/-   ##
=============================================
+ Coverage   84.716%   84.776%   +0.060%     
=============================================
  Files          459       461        +2     
  Lines        27494     27780      +286     
  Branches     12120     12317      +197     
=============================================
+ Hits         23292     23551      +259     
- Misses        3942      4188      +246     
+ Partials       260        41      -219     
Files with missing lines Coverage Δ
Sources/Swift/Tools/Batcher/BatcherScope.swift 100.000% <100.000%> (ø)
Sources/Swift/Tools/SentryLogBatcher.swift 95.918% <100.000%> (+0.569%) ⬆️
...ources/Swift/Protocol/SentryAttributeContent.swift 98.913% <98.913%> (ø)
Sources/Swift/Protocol/SentryAttribute.swift 89.583% <86.607%> (-2.605%) ⬇️
Sources/Swift/Protocol/SentryAttributeValue.swift 80.808% <80.808%> (ø)

... and 33 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33ade5e...8121614. Read the comment docs.