Skip to content

CODEOWNERS next steps #33984

Closed
Closed
@mmarchini

Description

@mmarchini

Following discussions from: #33895

The CODEOWNERS feature on GitHub can be useful to ensure the appropriate folks are made aware of relevant PRs for them. Unfortunately, the feature only works for teams with write access to the repository, which means teams line @nodejs/diagnostics, @nodejs/modules, @nodejs/build, @nodejs/security, etc. which are knowledgeable about or responsible for some files/subsystems cannot be pinged by this feature.

The PR above introduces CODEOWNERS for quic as an experimentation. While the quic team is testing this feature, we should also discuss how to proceed to include other teams without generating unnecessary organizational burden to the project. A few ideas came up in the PR:

  1. Have a GitHub Actions set the reviewers.
    a. Due to how Actions work, it would either need to be a scheduled action or a request_dispatch action which is triggered from a remove caller (like github-bot)
  2. Restructure our teams so that relevant teams are under @nodejs/collaborators
    a. This might lead to increase organizational burden, as it would be easy to add someone to one of the subteams even thought that person is not a collaborator yet
  3. Introduce -reviewers team for teams which are not under @nodejs/collaborators but should be pinged
    a. -reviewers teams would include only folks who are already collaborators
    b. Ideally these groups should be created and updated via some automation tool
  4. Implement similar behavior to CODEOWNERS on github-bot
    a. This means we'll need to implement our own thing, which could lead to increased maintenance burden
  5. Wait for GitHub to implement this feature for non-committers teams
    a. This might never happen though

The list above includes all options raised on the PR (with technical details and any downsides of each option). There are probably other options we can explore, but this should be a good starting point for conversation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    metaIssues and PRs related to the general management of the project.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions