Skip to content

chore(google-genai): Remove transaction-based tracing - #7375

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

chore(google-genai): Remove transaction-based tracing#7375
alexander-alderman-webb wants to merge 5 commits into
major/3.0from
webb/google-genai/remove-transactions

Conversation

@alexander-alderman-webb

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.

Closes #7090

Issues

Reminders

@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 4, 2026 09:37
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 4, 2026 09:37
Comment thread sentry_sdk/integrations/google_genai/utils.py

@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 4, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

87408 passed | ⏭️ 4112 skipped | Total: 91520 | Pass Rate: 95.51% | Execution Time: 280m 14s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -46186
Passed Tests 📉 -43188
Failed Tests
Skipped Tests 📉 -2998

All tests are passing successfully.

✅ Patch coverage is 87.18%. Project has 2250 uncovered lines.
✅ Project coverage is 90.36%. Comparing base (base) to head (head).

Files with missing lines (3)
File Patch % Lines
sentry_sdk/integrations/google_genai/init.py 84.44% ⚠️ 7 Missing
sentry_sdk/integrations/google_genai/streaming.py 83.33% ⚠️ 2 Missing
sentry_sdk/integrations/google_genai/utils.py 95.24% ⚠️ 1 Missing and 1 partials
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    90.24%    90.36%    +0.12%
==========================================
  Files          193       185        -8
  Lines        25724     23336     -2388
  Branches      9504      8564      -940
==========================================
+ Hits         23214     21086     -2128
- Misses        2510      2250      -260
- Partials      1435      1360       -75

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 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 3f157ab. Configure here.

Comment thread sentry_sdk/integrations/google_genai/__init__.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.

2 participants