Filter to Only Active Memberships in Members::DestroyedWorker

What does this MR do and why?

Filter to only active memberships in Members::DestroyedWorker.

Ignore pending memberships. Ignore invitations and requests. This brings worker behavior in line with billable member queries.

Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/552138+

References

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jason Goodman

Merge request reports

Loading