Skip to content

feat: Remove truncation when stream_gen_ai_spans is enabled#6260

Open
alexander-alderman-webb wants to merge 7 commits into
webb/gen-ai-v2from
webb/remove-truncation
Open

feat: Remove truncation when stream_gen_ai_spans is enabled#6260
alexander-alderman-webb wants to merge 7 commits into
webb/gen-ai-v2from
webb/remove-truncation

Conversation

@alexander-alderman-webb
Copy link
Copy Markdown
Contributor

@alexander-alderman-webb alexander-alderman-webb commented May 12, 2026

Description

Remove message popping and binary blob redaction when the experimental stream_gen_ai_spans is enabled.

Stop parametrizing all tests that fail when the stream_gen_ai_spans option is enabled.

Issues

Reminders

@alexander-alderman-webb alexander-alderman-webb changed the title feat: Remove truncation when stream_gen_ai_spans is enabled feat: Remove truncation when stream_gen_ai_spans is enabled May 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

Codecov Results 📊

27 passed | Total: 27 | Pass Rate: 100% | Execution Time: 4.13s

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests
Failed Tests
Skipped Tests

✨ No test changes detected

All tests are passing successfully.

❌ Patch coverage is 0.00%. Project has 16299 uncovered lines.
❌ Project coverage is 26.09%. Comparing base (base) to head (head).

Files with missing lines (1)
File Patch % Lines
utils.py 15.07% ⚠️ 248 Missing
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
- Coverage    26.38%    26.09%    -0.29%
==========================================
  Files          190       190         —
  Lines        22079     22053       -26
  Branches      7424      7502       +78
==========================================
+ Hits          5825      5754       -71
- Misses       16254     16299       +45
- Partials       492       498        +6

Generated by Codecov Action

@alexander-alderman-webb alexander-alderman-webb marked this pull request as ready for review May 12, 2026 14:04
@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner May 12, 2026 14:04
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 5e8c254. Configure here.

Comment thread sentry_sdk/ai/utils.py
Comment thread sentry_sdk/ai/utils.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant