Skip to content

Create a worker to handle test groups created on production

Chloe Liu requested to merge update-quality-cleanup-work-prod into master

What does this MR do and why?

Temporary workaround for issue !82692 (merged)

It usually takes 7 days for groups created by e2e tests on production to be removed by APIs. This is causing ~5k groups for a single namespace on production that's impacting performance.

This MR serves as a temporary workaround to find groups that gitlab-qa is a member of and are marked for deletion, and remove them immediately.

Will also need an MR in https://gitlab.com/gitlab-com/gl-infra/k8s-workloads/gitlab-com to schedule the worker to run once per day.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Chloe Liu

Merge request reports

Loading