Skip to content

Policy for managing inactive CODEOWNERS #187

@stefano-garzarella

Description

@stefano-garzarella

Many CODEOWNERS files across the organization are outdated, listing maintainers who are no longer active. This situation slows down the PR review process, provides a misleading view of repository health, and makes it difficult to identify when new maintainers are needed.

Proposed Policy

  • A CODEOWNER is considered inactive after X months without any review activity (comments, approvals, etc.) in a repository.
  • Inactive members will be gracefully removed from the CODEOWNERS file after a notification period (we would contact them and, if they are no longer active, remove them from the CODEOWNERS file).
  • Anyone removed can easily be re-added as a maintainer whenever they wish to become active again.
  • The required number of approvals per PR should be adjusted to align with the current number of active maintainers.

TODO

  • Add documentation about this policy in https://github.com/rust-vmm/community (maybe in MAINTAINERS.md) if we reach an agreement
    • Should we also cover gatekeepers ?
      • Postponed after monorepo switching (Agreed during BoF @ KVM Forum 2025)
  • Decide a fair timeframe for inactivity (X)? (e.g., 6 months, 12 months?)
    • 1 year inactivity window (Agreed during BoF @ KVM Forum 2025)
  • Decide how should we handle the process
    • A periodic manual audit
    • A script to run manually
    • A script to put in our CI

Looking forward to hearing everyone's thoughts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions