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

feat(replays): Add mobile blocklist for sales-led orgs #73981

Merged
merged 9 commits into from
Jul 10, 2024

Conversation

cmanallen
Copy link
Member

@cmanallen cmanallen commented Jul 8, 2024

  • Adds new organizations:session-replay-video-denylist feature.
  • Removes old (unused) organizations:session-replay-video killswitch.
  • Removes old (unused) denylist option.

@cmanallen cmanallen requested a review from a team as a code owner July 8, 2024 21:14
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 8, 2024
Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.12%. Comparing base (2be8d54) to head (a12b86c).
Report is 77 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #73981       +/-   ##
===========================================
+ Coverage   56.65%   78.12%   +21.46%     
===========================================
  Files        6647     6651        +4     
  Lines      297366   297518      +152     
  Branches    51174    51213       +39     
===========================================
+ Hits       168480   232423    +63943     
+ Misses     124271    58825    -65446     
- Partials     4615     6270     +1655     
Files Coverage Δ
src/sentry/features/temporary.py 100.00% <100.00%> (ø)
src/sentry/options/defaults.py 100.00% <ø> (ø)
src/sentry/relay/config/__init__.py 90.96% <ø> (+22.80%) ⬆️

... and 2032 files with indirect coverage changes

@cmanallen cmanallen merged commit aa07dd6 into master Jul 10, 2024
50 checks passed
@cmanallen cmanallen deleted the cmanallen/replays-block-sales-led-mobile-ingestion branch July 10, 2024 13:29
cmanallen added a commit to getsentry/relay that referenced this pull request Jul 10, 2024
Adds a pre-processing step to `ReplayGroup` processing. The envelope
items are iterated over and if a replay-video event is found processing
exits early before the items are processed.

This feature should always default to enabled. It should only return the
disabled state if the feature was successfully evaluated and the
organization was found to be explicitly denied access.

I'm not familiar with all the implications these code paths have. If
someone with more knowledge and experience could double-check my work I
would appreciate it.

Related: getsentry/getsentry#14569
Related: getsentry/sentry#73981

---------

Co-authored-by: Joris Bayer <joris.bayer@sentry.io>
priscilawebdev pushed a commit that referenced this pull request Jul 11, 2024
- Adds new `organizations:session-replay-video-denylist` feature.
- Removes old (unused) `organizations:session-replay-video` killswitch.
- Removes old (unused) denylist option.
0Calories pushed a commit to getsentry/relay that referenced this pull request Jul 11, 2024
Adds a pre-processing step to `ReplayGroup` processing. The envelope
items are iterated over and if a replay-video event is found processing
exits early before the items are processed.

This feature should always default to enabled. It should only return the
disabled state if the feature was successfully evaluated and the
organization was found to be explicitly denied access.

I'm not familiar with all the implications these code paths have. If
someone with more knowledge and experience could double-check my work I
would appreciate it.

Related: getsentry/getsentry#14569
Related: getsentry/sentry#73981

---------

Co-authored-by: Joris Bayer <joris.bayer@sentry.io>
@github-actions github-actions bot locked and limited conversation to collaborators Jul 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants