Skip to content

chore(openai): Remove transaction-based tracing - #7366

Merged
alexander-alderman-webb merged 6 commits into
major/3.0from
webb/openai/remove-transactions
Sep 7, 2026
Merged

chore(openai): Remove transaction-based tracing#7366
alexander-alderman-webb merged 6 commits into
major/3.0from
webb/openai/remove-transactions

Conversation

@alexander-alderman-webb

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

Copy link
Copy Markdown
Contributor

Description

Remove branches for the static trace lifecycle.
Also remove manual tracing API calls in tests, as the outer transaction is no longer needed.

Issues

Closes #7102

Reminders

@alexander-alderman-webb alexander-alderman-webb changed the title ref(openai): Remove transaction-based tracing chore(openai): Remove transaction-based tracing Sep 3, 2026
@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 3, 2026 12:01
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 3, 2026 12:01

@sentrivana sentrivana left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

😍

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

84465 passed | ⏭️ 3692 skipped | Total: 88157 | Pass Rate: 95.81% | Execution Time: 275m 4s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -49549
Passed Tests 📉 -46119
Failed Tests
Skipped Tests 📉 -3430

All tests are passing successfully.

✅ Patch coverage is 98.25%. Project has 2267 uncovered lines.
✅ Project coverage is 90.3%. Comparing base (bd34718) to head (87c9719).

Files with missing lines (1)
File Patch % Lines
sentry_sdk/integrations/openai.py 98.25% ⚠️ 1 Missing and 5 partials
Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
+ Coverage    90.25%    90.30%    +0.05%
==========================================
  Files          193       185        -8
  Lines        25725     23365     -2360
  Branches      9494      8568      -926
==========================================
+ Hits         23217     21098     -2119
- Misses        2508      2267      -241
- Partials      1432      1363       -69

Generated by Codecov Action

@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 2 potential issues.

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 236cb6f. Configure here.

Comment thread tests/integrations/openai/test_openai.py Outdated
@alexander-alderman-webb
alexander-alderman-webb merged commit 29ea004 into major/3.0 Sep 7, 2026
149 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/openai/remove-transactions branch September 7, 2026 08:59
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