Skip to content

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

Open
alexander-alderman-webb wants to merge 5 commits into
major/3.0from
webb/openai/remove-transactions
Open

chore(openai): Remove transaction-based tracing#7366
alexander-alderman-webb wants to merge 5 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 📊

85239 passed | ⏭️ 3744 skipped | Total: 88983 | Pass Rate: 95.79% | Execution Time: 279m 30s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -48723
Passed Tests 📉 -45357
Failed Tests
Skipped Tests 📉 -3366

All tests are passing successfully.

✅ Patch coverage is 98.25%. Project has 2267 uncovered lines.
✅ Project coverage is 90.34%. Comparing base (base) to head (head).

Files with missing lines (1)
File Patch % Lines
sentry_sdk/integrations/openai.py 98.25% ⚠️ 1 Missing and 5 partials
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    90.24%    90.34%     +0.1%
==========================================
  Files          193       185        -8
  Lines        25724     23467     -2257
  Branches      9504      8616      -888
==========================================
+ Hits         23214     21200     -2014
- Misses        2510      2267      -243
- Partials      1435      1361       -74

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
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