Skip to content

Commit

Permalink
chore(open-pr-comments): Add feature flag for open pr comments (#53894)
Browse files Browse the repository at this point in the history
This will be used by open pr comments rollout. Eventually this will
become an internal flag upon internal release
  • Loading branch information
AniketDas-Tekky authored Jul 31, 2023
1 parent 2f5ed8c commit de45caa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sentry/conf/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1480,6 +1480,8 @@ def SOCIAL_AUTH_DEFAULT_USERNAME() -> str:
"organizations:integrations-gh-invite": False,
# Enable the API to importing CODEOWNERS for a project
"organizations:integrations-codeowners": False,
# Enable comments of related issues on open PRs
"organizations:integrations-open-pr-comment": False,
# Enable inviting members to organizations.
"organizations:invite-members": True,
# Enable rate limits for inviting members.
Expand Down
1 change: 1 addition & 0 deletions src/sentry/features/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
default_manager.add("organizations:integrations-discord", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
default_manager.add("organizations:integrations-discord-notifications", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
default_manager.add("organizations:integrations-opsgenie", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
default_manager.add("organizations:integrations-open-pr-comment", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
default_manager.add("organizations:issue-alert-fallback-targeting", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
default_manager.add("organizations:issue-details-replay-event", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
default_manager.add("organizations:issue-details-most-helpful-event", OrganizationFeature, FeatureHandlerStrategy.REMOTE)
Expand Down

0 comments on commit de45caa

Please sign in to comment.