Skip to content

fix(ai): add message truncation in langchain - #4950

Merged
shellmayr merged 2 commits into
masterfrom
shellmayr/fix/gen-ai-message-truncation-langchain
Oct 17, 2025
Merged

shellmayr merged 2 commits into
masterfrom
shellmayr/fix/gen-ai-message-truncation-langchain

make sure tests assert correctly

95e54bf
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/project succeeded Oct 17, 2025 in 0s

84.08% (-0.02%) compared to b11c2f2

View this Pull Request on Codecov

84.08% (-0.02%) compared to b11c2f2

Details

Codecov Report

❌ Patch coverage is 56.25000% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.08%. Comparing base (b11c2f2) to head (95e54bf).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
sentry_sdk/integrations/langchain.py 56.25% 4 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4950      +/-   ##
==========================================
- Coverage   84.10%   84.08%   -0.02%     
==========================================
  Files         165      165              
  Lines       17037    17049      +12     
  Branches     2991     2995       +4     
==========================================
+ Hits        14329    14336       +7     
- Misses       1815     1818       +3     
- Partials      893      895       +2     
Files with missing lines Coverage Δ
sentry_sdk/integrations/langchain.py 68.51% <56.25%> (-0.53%) ⬇️

... and 1 file with indirect coverage changes