Skip to content

Remove config.capture_exception_frame_locals #2306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: 6.0-dev
Choose a base branch
from

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
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 94 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
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.

1 participant