fix(tracing): Set sentry.op to function in new trace decorator#6796
Open
sentrivana wants to merge 2 commits into
Open
fix(tracing): Set sentry.op to function in new trace decorator#6796sentrivana wants to merge 2 commits into
sentry.op to function in new trace decorator#6796sentrivana wants to merge 2 commits into
Conversation
sentry.op to function in new trace decorator
Contributor
Codecov Results 📊✅ 91020 passed | ⏭️ 6302 skipped | Total: 97322 | Pass Rate: 93.52% | Execution Time: 315m 54s 📊 Comparison with Base Branch
✨ No test changes detected All tests are passing successfully. ✅ Patch coverage is 100.00%. Project has 2439 uncovered lines. Files with missing lines (1)
Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
+ Coverage 89.76% 89.79% +0.03%
==========================================
Files 193 193 —
Lines 23888 23891 +3
Branches 8250 8252 +2
==========================================
+ Hits 21442 21452 +10
- Misses 2446 2439 -7
- Partials 1353 1354 +1Generated by Codecov Action |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7e5f771. Configure here.
Copy attributes dict instead of using `or` to prevent rebinding the closure variable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
alexander-alderman-webb
approved these changes
Jul 10, 2026
ericapisani
approved these changes
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
We weren't setting
sentry.opin spans created with the@sentry_sdk.traces.tracedecorator, so they'd show up with a fallback name in the product.Issues
Closes #6795
Reminders
uv run ruff.feat:,fix:,ref:,meta:)