Skip to content

ref(pydantic-ai): Drop support for stream_gen_ai_spans - #7361

Merged
alexander-alderman-webb merged 1 commit into
major/3.0from
webb/pydantic-ai/remove-stream-gen-ai-spans
Sep 4, 2026
Merged

ref(pydantic-ai): Drop support for stream_gen_ai_spans#7361
alexander-alderman-webb merged 1 commit into
major/3.0from
webb/pydantic-ai/remove-stream-gen-ai-spans

Conversation

@alexander-alderman-webb

Copy link
Copy Markdown
Contributor

Description

Set stream_gen_ai_spans=False to maintain assertions for the static trace lifecycle.
Transaction support will be removed as a follow up.

Issues

Reminders

@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 3, 2026 11:23
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 3, 2026 11:23

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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 7398648. Configure here.

Comment thread sentry_sdk/integrations/pydantic_ai/spans/ai_client.py
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

115710 passed | ⏭️ 5544 skipped | Total: 121254 | Pass Rate: 95.43% | Execution Time: 387m 52s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -16441
Passed Tests 📉 -14875
Failed Tests
Skipped Tests 📉 -1566

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2265 uncovered lines.
✅ Project coverage is 90.43%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    90.24%    90.43%    +0.19%
==========================================
  Files          193       185        -8
  Lines        25715     23671     -2044
  Branches      9502      8704      -798
==========================================
+ Hits         23206     21406     -1800
- Misses        2509      2265      -244
- Partials      1435      1364       -71

Generated by Codecov Action

@alexander-alderman-webb
alexander-alderman-webb merged commit c84edd4 into major/3.0 Sep 4, 2026
149 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/pydantic-ai/remove-stream-gen-ai-spans branch September 4, 2026 07:29
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.

2 participants