Skip to content

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

Merged
sl0thentr0py merged 1 commit intomasterfrom
neel/fix-spotlight-sending
Mar 13, 2024
Merged

Make sure sending_allowed? is respected irrespective of spotlight configuration#2231
sl0thentr0py merged 1 commit intomasterfrom
neel/fix-spotlight-sending

Conversation

@sl0thentr0py
Copy link
Copy Markdown
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
@codecov
Copy link
Copy Markdown

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

@sandstrom
Copy link
Copy Markdown

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
Copy Markdown
Member Author

sorry slipped through the cracks

Copy link
Copy Markdown
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
@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