-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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(team-workflow): Add subscription for team in GroupSubscription
#55825
Merged
isabellaenriquez
merged 10 commits into
master
from
isabellaenriquez/subscribe-team-not-users
Sep 12, 2023
Merged
feat(team-workflow): Add subscription for team in GroupSubscription
#55825
isabellaenriquez
merged 10 commits into
master
from
isabellaenriquez/subscribe-team-not-users
Sep 12, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
the
Scope: Backend
Automatically applied to PRs that change backend components
label
Sep 6, 2023
Codecov Report
@@ Coverage Diff @@
## master #55825 +/- ##
==========================================
- Coverage 79.98% 78.29% -1.70%
==========================================
Files 5063 5064 +1
Lines 217835 217881 +46
Branches 36878 36885 +7
==========================================
- Hits 174241 170584 -3657
- Misses 38247 41892 +3645
- Partials 5347 5405 +58 |
This comment was marked as outdated.
This comment was marked as outdated.
roggenkemper
reviewed
Sep 7, 2023
roggenkemper
reviewed
Sep 8, 2023
@@ -88,6 +97,23 @@ def test_actor_team(self): | |||
# should not error | |||
GroupSubscription.objects.subscribe_actor(group=group, actor=team) | |||
|
|||
@with_feature("organizations:team-workflow-notifications") | |||
def test_subscribe_team(self): |
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.
nice! good test to add in!
scefali
reviewed
Sep 12, 2023
scefali
approved these changes
Sep 12, 2023
isabellaenriquez
deleted the
isabellaenriquez/subscribe-team-not-users
branch
September 12, 2023 18:31
isabellaenriquez
added
the
Trigger: Revert
add to a merged PR to revert it (skips CI)
label
Sep 12, 2023
PR reverted: 6efc462 |
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
Trigger: Revert
add to a merged PR to revert it (skips CI)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates
subscribe_actor
to no longer read all the team's users and instead subscribe the Team itself if the team-workflow-notifications feature flag is enabled. Also updatessubscribe
so that it can accept a Team as a subscriber, not just Users or RpcUsers.Part 1 of #55556
❗ BLOCKED BY #55879