Skip to content

Conversation

@npolshakova
Copy link
Contributor

@npolshakova npolshakova commented Oct 15, 2025

Description

Add initial code owner groups for API Maintainers and Owners for CI

Change Type

/kind cleanup

Changelog

Added codeowners for kgateway for API maintainers and CI maintainers. 

Signed-off-by: npolshakova <[email protected]>
Copilot AI review requested due to automatic review settings October 15, 2025 17:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new CODEOWNERS file to establish code ownership groups for the kgateway project, implementing automated review requirements for critical components.

  • Adds code ownership rules for API-related files and CI infrastructure
  • Establishes two ownership groups: API owners and CI owners
  • Sets up automated review requirements for critical paths like /api/, /install/, .github/, and Go modules

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@github-actions github-actions bot added kind/feature Categorizes issue or PR as related to a new feature. release-note labels Oct 15, 2025
Signed-off-by: npolshakova <[email protected]>
CODEOWNERS Outdated
# CI workflows
/.github @kgateway-dev/kgateway-ci-owners
/.githooks @kgateway-dev/kgateway-ci-owners
/.gitignore @kgateway-dev/kgateway-ci-owners
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/.gitignore @kgateway-dev/kgateway-ci-owners

I'd vote to let anyone modify .gitignore since it's mostly used to hide folders used in dev workflows or tools.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm ok either way on the .gitignore

# API definitions and CRDs - critical for API compatibility
/api/ @kgateway-dev/kgateway-api-owners
# Require approval for everything under install/
/install/ @kgateway-dev/kgateway-api-owners
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note that this folder includes not just api-related files, but also helm templates (under install/helm/kgateway/templates). do we need special approval for those files? (if yes, i would say we should also add the same codeowners for internal/kgateway/helm)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, good call!

Signed-off-by: npolshakova <[email protected]>
@npolshakova
Copy link
Contributor Author

Community PR to introduce groups: kgateway-dev/community#136

@shashankram shashankram added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is still being worked on or has unresolved issues label Oct 24, 2025
@shashankram
Copy link
Contributor

More granular code ownership and reviewer assignment is definitely required, though I'd like to explore a different mechanism than file based code ownership. Let's discuss this before merging this.

@github-actions github-actions bot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. and removed kind/feature Categorizes issue or PR as related to a new feature. labels Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is still being worked on or has unresolved issues kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. release-note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants