ref: Remove transaction profiler in new major - #6921
Merged
Conversation
Remove the transaction-bound profiler entirely, keeping only the continuous profiler. This deletes transaction_profiler.py and all code paths that created, started, stopped, and serialized transaction profiles — including the Profile class, Scheduler hierarchy, profiles_sample_rate/profiles_sampler options, scope.profile property, envelope "profile" item type, and update_active_thread_id calls in framework integrations.
Contributor
Codecov Results 📊✅ 96925 passed | ⏭️ 6431 skipped | Total: 103356 | Pass Rate: 93.78% | Execution Time: 356m 14s 📊 Comparison with Base Branch
➖ Removed Tests (3)View removed tests
All tests are passing successfully. ❌ Patch coverage is 50.00%. Project has 2475 uncovered lines. Files with missing lines (1)
Coverage diff@@ Coverage Diff @@
## main #PR +/-##
==========================================
- Coverage 89.84% 89.63% -0.21%
==========================================
Files 193 191 -2
Lines 24588 23866 -722
Branches 8744 8490 -254
==========================================
+ Hits 22089 21391 -698
- Misses 2499 2475 -24
- Partials 1400 1375 -25Generated by Codecov Action |
sentrivana
marked this pull request as ready for review
July 29, 2026 13:03
alexander-alderman-webb
approved these changes
Jul 29, 2026
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 490dceb. Configure here.
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
Issues
Closes #6920
Reminders
uv run ruff.feat:,fix:,ref:,meta:)