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

ref(replays): Add replay-video organization denylist handling #69324

Closed
wants to merge 4 commits into from

Conversation

cmanallen
Copy link
Member

@cmanallen cmanallen commented Apr 19, 2024

Relates to: #64379

@cmanallen cmanallen requested review from a team as code owners April 19, 2024 17:53
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 19, 2024
Copy link

codecov bot commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.65%. Comparing base (6510315) to head (138af9a).
Report is 1235 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #69324      +/-   ##
==========================================
+ Coverage   78.79%   79.65%   +0.86%     
==========================================
  Files        6438     6440       +2     
  Lines      286107   286346     +239     
  Branches    49306    49351      +45     
==========================================
+ Hits       225433   228098    +2665     
+ Misses      60237    57811    -2426     
  Partials      437      437              
Files Coverage Δ
src/sentry/conf/server.py 89.18% <ø> (ø)
src/sentry/features/temporary.py 100.00% <ø> (ø)
src/sentry/options/defaults.py 100.00% <ø> (ø)
src/sentry/relay/config/__init__.py 96.06% <ø> (ø)
src/sentry/replays/consumers/recording_buffered.py 98.56% <100.00%> (+35.32%) ⬆️
src/sentry/replays/usecases/ingest/__init__.py 96.36% <100.00%> (+0.10%) ⬆️

... and 226 files with indirect coverage changes

Copy link
Member

@jjbayer jjbayer left a comment

Choose a reason for hiding this comment

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

getsentry/relay#3439 made it into release 24.4.0, so you might get a problem with customer relays of that version skipping replay videos because the feature flag is now missing.

To be 100% compatible we need to keep the feature flag emitted from sentry as true, and marked as deprecated in Relay (see for example https://github.com/getsentry/relay/blob/03643c31bd113ff1ab52107828abeae75de2b469/relay-dynamic-config/src/feature.rs#L117-L120).

@cmanallen
Copy link
Member Author

cmanallen commented Apr 22, 2024

What's the recommendation for this PR? What files need to be unchanged and for how long do we need to carry the feature flag?

There's two options:

  1. Do nothing and tell users who encounter problems to upgrade their Relay to 24.4.1.
  2. Re-introduce the feature flag in Relay as Deprecated (only to forward it to extern Relays), and hard-code it to true on the sentry side. I believe the rule of thumb is to keep it around for ~six months.

I would personally go for option 1 because the current problem only affects 24.4.0 (IIUC), so upgrading to 24.4.1 is a reasonable ask IMO.

@cmanallen
Copy link
Member Author

@bruno-garcia Can you help @aliu3ntry drive this while I'm out.

@getsantry
Copy link
Contributor

getsantry bot commented May 16, 2024

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you add the label WIP, I will leave it alone unless WIP is removed ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry bot added the Stale label May 16, 2024
@getsantry getsantry bot closed this May 24, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 8, 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 Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants