Update project move service to update namespace IDs for Compliance Control classes

In the ComplianceManagement::ComplianceFramework namespace(ruby) we have models that have a namespace reference:

  • ProjectControlComplianceStatus
  • ProjectRequirementComplianceStatus
  • (ProjectComplianceViolations ?)

When a project is moved to another namespace(gitlab) the corresponding IDs need to be updated to avoid corrupted or floating data regarding to foreign keys.

Related incident root cause: #423405 (comment 1539218283)

Edited Apr 07, 2025 by Hitesh Raghuvanshi
Assignee Loading
Time tracking Loading