Skip to content
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

Make sure sending_allowed? is respected irrespective of spotlight configuration #2231

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

sl0thentr0py
Copy link
Member

@sl0thentr0py sl0thentr0py commented Jan 15, 2024

we need to make a difference between the 'event building' and the 'sending' so I made this more explicit.

fixes #2226

@sl0thentr0py sl0thentr0py requested a review from st0012 January 15, 2024 14:52
Copy link

codecov bot commented Jan 15, 2024

Codecov Report

Merging #2231 (497a8e0) into master (213e2ab) will decrease coverage by 33.04%.
The diff coverage is 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2231       +/-   ##
===========================================
- Coverage   97.61%   64.58%   -33.04%     
===========================================
  Files         112      111        -1     
  Lines        4153     4125       -28     
===========================================
- Hits         4054     2664     -1390     
- Misses         99     1461     +1362     
Components Coverage Δ
sentry-ruby 54.29% <100.00%> (-44.04%) ⬇️
sentry-rails 95.05% <ø> (ø)
sentry-sidekiq 94.70% <ø> (ø)
sentry-resque 90.76% <ø> (ø)
sentry-delayed_job 95.60% <ø> (ø)
sentry-opentelemetry 100.00% <ø> (ø)
Files Coverage Δ
sentry-ruby/lib/sentry/client.rb 39.80% <100.00%> (-60.20%) ⬇️
sentry-ruby/lib/sentry/configuration.rb 80.00% <100.00%> (-18.80%) ⬇️

... and 62 files with indirect coverage changes

sentry-ruby/spec/sentry/configuration_spec.rb Outdated Show resolved Hide resolved
sentry-ruby/lib/sentry/configuration.rb Outdated Show resolved Hide resolved
@sandstrom
Copy link

Just curious, is this something that will be merged soon?

We've tried out Spotlight, but with this bug it's also caused all dev events to flow from developer machines to Sentry, with no easy way to turn it off.

Would be great for us if this could be merged!

cc @sl0thentr0py @st0012

@sl0thentr0py sl0thentr0py force-pushed the neel/fix-spotlight-sending branch 2 times, most recently from 42d4ce3 to 3206e27 Compare March 13, 2024 14:06
@sl0thentr0py sl0thentr0py force-pushed the neel/fix-spotlight-sending branch from 3206e27 to 497a8e0 Compare March 13, 2024 14:10
@sl0thentr0py sl0thentr0py requested a review from st0012 March 13, 2024 14:11
@sl0thentr0py
Copy link
Member Author

sorry slipped through the cracks

Copy link
Member

@szokeasaurusrex szokeasaurusrex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stamp

@sl0thentr0py sl0thentr0py merged commit b69e4eb into master Mar 13, 2024
121 of 123 checks passed
@sl0thentr0py sl0thentr0py deleted the neel/fix-spotlight-sending branch March 13, 2024 14:13
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.

Sending to sentry is always enabled when using spotlight
4 participants