Migrate "Automatically included reviewers" from ADO project

Overview

Migration of "Automatically included reviewers" from ADO project branch policies

image.png

Workflow Design

Phase 1: Detection

  • Identify ADO "automatically included reviewers" policies
  • Extract path filters and reviewer lists

Phase 2: Template Generation

  • Convert ADO paths to CODEOWNERS patterns
  • Create placeholder entries for each reviewer
  • Organize by original ADO policy for clarity
  • Add instructional header with GitLab syntax guide

Phase 3: MR Creation

  • Create feature branch from default branch
  • Commit CODEOWNERS template
  • Generate comprehensive MR description with:
    • Original ADO policy summary
    • Step-by-step conversion instructions
    • Links to GitLab CODEOWNERS documentation

Phase 4: Post-Migration Action

  • Team reviews MR after migration completes
  • Manually converts placeholders to GitLab users/groups
  • Validates path patterns are still relevant
  • Merges when ready

Tasks

  • Update docs if needed (workflow, runbooks, README, migration metrics, etc.)

Acceptance Criteria

  • Existing UTs pass locally. If you need help updating any tests, refer to our writing tests documentation

Merge request reports

Loading