fix(ai): correct size calculation, rename internal property for message truncation & add test #4949
Codecov / codecov/project
succeeded
Oct 17, 2025 in 1s
84.10% (+0.01%) compared to 814cd5a
View this Pull Request on Codecov
84.10% (+0.01%) compared to 814cd5a
Details
Codecov Report
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.10%. Comparing base (814cd5a) to head (c538e24).
✅ All tests successful. No failed tests found.
Additional details and impacted files
@@ Coverage Diff @@
## master #4949 +/- ##
==========================================
+ Coverage 84.08% 84.10% +0.01%
==========================================
Files 165 165
Lines 17037 17037
Branches 2991 2991
==========================================
+ Hits 14326 14329 +3
+ Misses 1821 1815 -6
- Partials 890 893 +3 | Files with missing lines | Coverage Δ | |
|---|---|---|
| sentry_sdk/ai/utils.py | 92.00% <100.00%> (ø) |
|
| sentry_sdk/client.py | 84.22% <100.00%> (ø) |
|
| sentry_sdk/scope.py | 88.61% <100.00%> (ø) |
Loading