Skip to content

ref(openai-agents): Drop support for stream_gen_ai_spans - #7362

Merged
alexander-alderman-webb merged 3 commits into
major/3.0from
webb/openai-agents/remove-stream-gen-ai-spans
Sep 4, 2026
Merged

ref(openai-agents): Drop support for stream_gen_ai_spans#7362
alexander-alderman-webb merged 3 commits into
major/3.0from
webb/openai-agents/remove-stream-gen-ai-spans

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Sep 3, 2026

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

Comment thread sentry_sdk/integrations/openai_agents/spans/invoke_agent.py
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

89579 passed | ⏭️ 4164 skipped | Total: 93743 | Pass Rate: 95.56% | Execution Time: 292m 14s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -43952
Passed Tests 📉 -41006
Failed Tests
Skipped Tests 📉 -2946

All tests are passing successfully.

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

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    90.27%    90.35%    +0.08%
==========================================
  Files          193       185        -8
  Lines        25715     23539     -2176
  Branches      9502      8636      -866
==========================================
+ Hits         23213     21268     -1945
- Misses        2502      2271      -231
- Partials      1433      1363       -70

Generated by Codecov Action

@alexander-alderman-webb
alexander-alderman-webb merged commit 0e7d203 into major/3.0 Sep 4, 2026
147 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/openai-agents/remove-stream-gen-ai-spans branch September 4, 2026 07:39
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