-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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(replay): try 5s rage/dead click timeout for select orgs, using options #77325
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't mean to say that you should have replaced the feature flag -- that part was totally fine. just meant to say you could use an option to control the rage/deadclick timeout
True! This is all backend tho so we can just do 1 PR w/2 options |
❌ 1 Tests Failed:
View the top 1 failed tests by shortest run time
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard |
organization = Project.objects.get(id=project_id).organization | ||
dead_click_timeout = ( | ||
reduced_dead_click_timeout | ||
if organization.slug in options.get("feedback.dead-click.reduced-timeout-org-list") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not use the org slug because we need to query for it. We have the org_id and the project_id. We could use those with the option directly so you don't need to query anything.
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 "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Reopened from #77325. Follows up on a slack thread from a while ago with @drguthals and @bruno-garcia. Once this is merged, we can specify a list of org IDs (e.g. sentry orgs) and any timeout we want. Note we still need a way to pass the org_id from [recording_buffered.py](https://github.com/getsentry/sentry/blob/06884c96f61f9fb30d02ef41d833299123a3e23b/src/sentry/replays/consumers/recording_buffered.py#L323-L323)
Reopened from #77325. Follows up on a slack thread from a while ago with @drguthals and @bruno-garcia. Once this is merged, we can specify a list of org IDs (e.g. sentry orgs) and any timeout we want. Note we still need a way to pass the org_id from [recording_buffered.py](https://github.com/getsentry/sentry/blob/06884c96f61f9fb30d02ef41d833299123a3e23b/src/sentry/replays/consumers/recording_buffered.py#L323-L323)
Reopened from #77325. Follows up on a slack thread from a while ago with @drguthals and @bruno-garcia. Once this is merged, we can specify a list of org IDs (e.g. sentry orgs) and any timeout we want. Note we still need a way to pass the org_id from [recording_buffered.py](https://github.com/getsentry/sentry/blob/06884c96f61f9fb30d02ef41d833299123a3e23b/src/sentry/replays/consumers/recording_buffered.py#L323-L323)
Replaces #77286 and #77284
Depends on #77365