Skip to content

Conversation

@st0012
Copy link
Collaborator

@st0012 st0012 commented May 6, 2024

It's been marked as deprecated for a while now and should be removed in the next major release.

Additional note: some TracePoint events can invalidate YJIT's optimization, which was a main concern of the current implementation around locals capturing. But at least until Ruby 3.3, the raise event we're using is NOT one of them.

@st0012 st0012 changed the title Remove the capture_exception_frame_locals configuration option Remove config.capture_exception_frame_locals May 6, 2024
@codecov
Copy link

codecov bot commented May 6, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.66%. Comparing base (07aaf5e) to head (9cf553d).
⚠️ Report is 275 commits behind head on 6.0-dev.

Additional details and impacted files
@@             Coverage Diff             @@
##           6.0-dev    #2306      +/-   ##
===========================================
- Coverage    98.71%   98.66%   -0.05%     
===========================================
  Files          202      201       -1     
  Lines        13294    13075     -219     
===========================================
- Hits         13123    12901     -222     
- Misses         171      174       +3     
Components Coverage Δ
sentry-ruby 99.05% <100.00%> (-0.05%) ⬇️
sentry-rails 97.26% <100.00%> (-0.12%) ⬇️
sentry-sidekiq 96.98% <ø> (ø)
sentry-resque 96.76% <ø> (ø)
sentry-delayed_job 98.91% <ø> (ø)
sentry-opentelemetry 100.00% <ø> (ø)
Files with missing lines Coverage Δ
sentry-rails/lib/sentry/rails/active_job.rb 100.00% <100.00%> (ø)
sentry-rails/spec/dummy/test_rails_app/app.rb 92.64% <100.00%> (ø)
sentry-rails/spec/sentry/rails/activejob_spec.rb 99.42% <ø> (-0.07%) ⬇️
sentry-ruby/lib/sentry/background_worker.rb 100.00% <100.00%> (ø)
sentry-ruby/lib/sentry/client.rb 100.00% <100.00%> (ø)
sentry-ruby/lib/sentry/configuration.rb 98.75% <ø> (-0.05%) ⬇️
sentry-ruby/lib/sentry/transport.rb 99.03% <100.00%> (-0.01%) ⬇️
sentry-ruby/spec/sentry/background_worker_spec.rb 100.00% <ø> (ø)
...ntry-ruby/spec/sentry/client/event_sending_spec.rb 99.50% <100.00%> (-0.13%) ⬇️
sentry-ruby/spec/sentry/configuration_spec.rb 100.00% <ø> (ø)
... and 4 more

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

st0012 added 2 commits May 6, 2024 19:09
It's been marked as deprecated for a while now and should be removed
in the next major release.
@st0012 st0012 force-pushed the drop-capture-exception-frame-locals-config branch from 693955c to 9cf553d Compare May 6, 2024 18:09
@sl0thentr0py sl0thentr0py force-pushed the 6.0-dev branch 7 times, most recently from 179dd87 to 6e39d31 Compare September 23, 2025 11:58
@sl0thentr0py
Copy link
Member

i'll take care of this separately as i'm going through all deprecations for the major

@sl0thentr0py sl0thentr0py deleted the drop-capture-exception-frame-locals-config branch September 26, 2025 11:14
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.

3 participants