-
-
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
feat(slack): slack channel lookup via schedule message #52034
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #52034 +/- ##
==========================================
- Coverage 77.72% 76.95% -0.78%
==========================================
Files 4883 4909 +26
Lines 205442 205816 +374
Branches 35126 35181 +55
==========================================
- Hits 159681 158378 -1303
- Misses 40650 42321 +1671
- Partials 5111 5117 +6
|
src/sentry/features/__init__.py
Outdated
@@ -256,6 +256,7 @@ | |||
default_manager.add("organizations:ds-sliding-window-org", OrganizationFeature, FeatureHandlerStrategy.INTERNAL) | |||
default_manager.add("organizations:pr-comment-bot", OrganizationFeature, FeatureHandlerStrategy.REMOTE) | |||
default_manager.add("organizations:ds-org-recalibration", OrganizationFeature, FeatureHandlerStrategy.INTERNAL) | |||
default_manager.add("organizations:slack-use-new-lookup", OrganizationFeature, FeatureHandlerStrategy.INTERNAL) |
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.
You'll want this to be FeatureHandlerStrategy.REMOTE
so that we can enable the feature using Flagr. https://develop.sentry.dev/feature-flags/#add-your-feature-to-the-featuremanager
I can help you set up the feature flag in Flagr too :)
This looks so good! I'll give it one last pass tomorrow and I can explain how to set up the feature flag in Flagr |
Fixes #52034 Don't reset the pagination cursor
Closes #51882
Using slack api chat.scheduleMessage in get_channel_id_with_timeout_new function to lookup channel id