Resync namespace traversal ids on staging only
What does this MR do and why?
This runs a data migration to fix some broken namespace traversal id's on staging.
This aims to fix this sentry error: https://new-sentry.gitlab.net/organizations/gitlab/issues/1956963/?environment=gstg&project=3&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=1h&stream_index=0
undefined method `should_process_custom_roles?' for nil:NilClass (NoMethodError)
next unless group.root_ancestor.should_process_custom_roles?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I have verified that there are no orphan namespaces on production by rerunning this query.
Source of the query is from !200046 (comment 2674683085)
References
Related https://gitlab.com/gitlab-org/quality/e2e-test-issues/-/issues/927+
Related !200046 (merged)
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
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 tim mccarthy