Skip to content

ref: Remove transaction profiler in new major - #6921

Merged
sentrivana merged 6 commits into
major/3.0from
ivana/remove-transaction-profiler
Jul 29, 2026
Merged

ref: Remove transaction profiler in new major#6921
sentrivana merged 6 commits into
major/3.0from
ivana/remove-transaction-profiler

Conversation

@sentrivana

Copy link
Copy Markdown
Contributor

Description

Issues

Closes #6920

Reminders

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.
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

96925 passed | ⏭️ 6431 skipped | Total: 103356 | Pass Rate: 93.78% | Execution Time: 356m 14s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -1958
Passed Tests 📉 -1614
Failed Tests 📉 -3
Skipped Tests 📉 -341

➖ Removed Tests (3)

View removed tests
  • test_segment_uses_downsampled_rate
    • File: tests.test_monitor
  • test_trace_decorator_no_trx
    • File: tests.tracing.test_decorator
  • test_continuous_profiler_auto_start_and_stop_sampled[experiment-thread]
    • File: tests.profiler.test_continuous_profiler

All tests are passing successfully.

❌ Patch coverage is 50.00%. Project has 2475 uncovered lines.
❌ Project coverage is 89.63%. Comparing base (base) to head (head).

Files with missing lines (1)
File Patch % Lines
sentry_sdk/client.py 50.00% ⚠️ 2 Missing
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       -25

Generated by Codecov Action

@sentrivana sentrivana changed the title Remove transaction profiler in new major ref: Remove transaction profiler in new major Jul 29, 2026
@sentrivana
sentrivana marked this pull request as ready for review July 29, 2026 13:03
@sentrivana
sentrivana requested a review from a team as a code owner July 29, 2026 13:03

@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 490dceb. Configure here.

Comment thread sentry_sdk/_types.py
@sentrivana
sentrivana merged commit 123c214 into major/3.0 Jul 29, 2026
136 checks passed
@sentrivana
sentrivana deleted the ivana/remove-transaction-profiler branch July 29, 2026 13:15
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