How do you govern ownership in a monorepo with hundreds of teams?
AdvancedProductionGovernance, migration, automation and cost
Answer
CODEOWNERS per directory, enforced by a validator in CI that every path has an owner, ownership recorded in a catalogue (Backstage) and checked against the HR/team source of truth, and rotation rules for orphaned directories. Path-based rulesets add stricter review on sensitive areas. Owners are teams, so reorgs update one file.
More on Governance, migration, automation and cost
How do you migrate 200 repos from Bitbucket or GitLab to GitHub with minimal disruption?IntermediateWhat does a migration from SVN (or a legacy monolith repo) to Git need beyond the conversion?AdvancedWhat standard files should every repo have?BeginnerHow do you manage GitHub organisation settings as code?IntermediateWhat is InnerSource and how does Git workflow support it?IntermediateWhen do you use DCO versus CLA?Beginner