Skip to content

Handle invalid and orphaned categories

Jennifer Li requested to merge jennli-update-devops-labels into master

What does this MR do and why?

Follow up on !2277 (comment 1425778571). Changes made in this MR:

  1. update spec fixtures so we can work with the latest group / category data.
  2. added logic to handle invalid and orphaned categories, added specs to verify these 2 cases
  3. devops_labels spec maintenance

Expected impact & dry-runs

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

See https://gitlab.com/gitlab-org/quality/triage-ops/-/tree/master/doc/scheduled#testing-policies-with-a-dry-run on how to perform dry-runs for new policies.

See https://gitlab.com/gitlab-org/quality/triage-ops/-/blob/master/doc/reactive/best_practices.md#use-the-sandbox-to-test-new-processors on how to make sure a new processor can be tested.

Action items

Merge request reports