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
[CIS-1071] Fix member removed from Channel still present in MemberListController #1323
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1323 +/- ##
==========================================
- Coverage 91.15% 91.01% -0.14%
==========================================
Files 227 227
Lines 9763 9767 +4
==========================================
- Hits 8899 8889 -10
- Misses 864 878 +14
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
29f7b73
to
eef3f0c
Compare
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.
LGTM!
63206b9
to
e1386c4
Compare
@dmigach @DominikBucher12 why are you approving a PR with broken CI? |
bc23e19
to
3c09ce3
Compare
This happened because we forgot to update the queries of Member when it's removed. A similar bug may be present in MemberAdded and MemberUpdated events. For those events, we need to re-fetch the queries, since Client doesn't have a way to apply filters.
The new test somehow keeps failing on CI.. perhaps dividing it into 2 will fix it?
3c09ce3
to
9a5eb71
Compare
This happened because we forgot to update the queries of Member when it's removed. A similar bug may be present in MemberAdded and MemberUpdated events. For those events, we need to re-fetch the queries, since Client doesn't have a way to apply filters.