feat(github): reduce CODEOWNERS noise, add suggested reviewers to PR template (#6797)

CODEOWNERS changes:
- Remove engineering teams and PMs from auto-assignment
- Keep only @influxdata/docs-team as mandatory reviewer
- Reduces auto-assigned reviewers from 4+ to 1 per PR

PR template changes:
- Add collapsible "Suggested reviewers" section with tables by product
- Preserve all reviewer information from old CODEOWNERS
- Include engineering teams and PMs for manual assignment
- Add tips for draft PRs and Copilot workflow

Benefits:
- Eliminates notification spam for engineering/PM teams
- Authors manually request reviewers when ready
- Draft PRs no longer trigger unwanted notifications
- Reviewer information still easily accessible

https://claude.ai/code/session_0173AuWPoy6UXiatCMGz4W7h

Co-authored-by: Claude <noreply@anthropic.com>
pull/6804/head^2
Jason Stirnaman 2026-02-09 13:24:31 -06:00 committed by GitHub
parent 9e845cecd2
commit 303d3a5992
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 87 additions and 116 deletions

143
.github/CODEOWNERS vendored
View File

@ -1,124 +1,41 @@
# CODEOWNERS file for InfluxData Documentation
#
# This file defines code ownership for the docs-v2 repository.
# Code owners are automatically requested for review when someone opens a pull request
# that modifies code that they own.
# This file defines the MINIMUM required reviewers for pull requests.
# Additional reviewers should be requested manually based on the content area.
# See the PR template for suggested reviewers by product.
#
# Order matters - the last matching pattern takes precedence.
# More specific patterns should appear later in this file.
#
# Three-tier review approach for product documentation:
# 1. Engineering teams (technical accuracy and implementation details)
# 2. Product managers (product strategy and feature alignment)
# 3. Documentation team (content quality, style, and user experience)
# Design principle: Reduce notification noise by auto-assigning only the docs team.
# Engineering and PM reviewers are suggested in the PR template for manual assignment.
#
# Syntax: path/to/code @owner1 @owner2
# See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
# Default owner for everything in the repo
# Docs team handles all documentation changes
# Default: Documentation team reviews all changes
* @influxdata/docs-team
# Product-specific ownership
# Each product area includes engineering team, specific product managers, and docs team
# API docs subdirectories are grouped with their respective content directories
# Infrastructure and tooling (docs-team only)
/.circleci/ @influxdata/docs-team
/.github/workflows/ @influxdata/docs-team
/layouts/ @influxdata/docs-team
/assets/ @influxdata/docs-team
/scripts/ @influxdata/docs-team
/cypress/ @influxdata/docs-team
/test/ @influxdata/docs-team
/.ci/ @influxdata/docs-team
/deploy/ @influxdata/docs-team
/config/ @influxdata/docs-team
# Platform (legacy)
# Docs: Documentation team
/content/platform/ @influxdata/docs-team
# Build configuration
/package.json @influxdata/docs-team
/yarn.lock @influxdata/docs-team
/tsconfig.json @influxdata/docs-team
/compose.yaml @influxdata/docs-team
/Dockerfile* @influxdata/docs-team
# InfluxDB Cloud (TSM)
# PMs: Scott (Cloud 1 primary), Daniel (Cloud 2 primary), Jason (secondary), Docs: Documentation team
/content/influxdb/cloud/ @sanderson @mavarius @jstirnaman @influxdata/docs-team
/api-docs/influxdb/cloud/ @sanderson @mavarius @jstirnaman @influxdata/docs-team
# InfluxDB v2
# Engineering: Edge team, PMs: Scott (primary), Jason (secondary), Docs: Documentation team
/content/influxdb/v2/ @influxdata/edge @sanderson @jstirnaman @influxdata/docs-team
/api-docs/influxdb/v2/ @influxdata/edge @sanderson @jstirnaman @influxdata/docs-team
# InfluxDB v1
# Engineering: Edge team, PMs: Scott (primary), Jason (secondary), Docs: Documentation team
/content/influxdb/v1/ @influxdata/edge @sanderson @jstirnaman @influxdata/docs-team
# InfluxDB 3 Core
# Engineering: Monolith team, PMs: Pete (primary), Gary (secondary), Docs: Documentation team
/content/influxdb3/core/ @influxdata/monolith-team @peterbarnett03 @garylfowler @influxdata/docs-team
/api-docs/influxdb3/core/ @influxdata/monolith-team @peterbarnett03 @garylfowler @influxdata/docs-team
# InfluxDB 3 Enterprise
# Engineering: Monolith team, PMs: Pete (primary), Gary (secondary), Docs: Documentation team
/content/influxdb3/enterprise/ @influxdata/monolith-team @peterbarnett03 @garylfowler @influxdata/docs-team
/api-docs/influxdb3/enterprise/ @influxdata/monolith-team @peterbarnett03 @garylfowler @influxdata/docs-team
# InfluxDB 3 Clustered
# Engineering: Platform team, PMs: Ritwika (primary), Scott (secondary), Docs: Documentation team
/content/influxdb3/clustered/ @influxdata/platform-team @ritwika314 @sanderson @influxdata/docs-team
/api-docs/influxdb3/clustered/ @influxdata/platform-team @ritwika314 @sanderson @influxdata/docs-team
# InfluxDB 3 Cloud Dedicated
# Engineering: Cloud single-tenant, PMs: Ritwika (primary), Scott (secondary), Docs: Documentation team
/content/influxdb3/cloud-dedicated/ @influxdata/cloud-single-tenant @ritwika314 @sanderson @influxdata/docs-team
/api-docs/influxdb3/cloud-dedicated/ @influxdata/cloud-single-tenant @ritwika314 @sanderson @influxdata/docs-team
# InfluxDB 3 Cloud Serverless
# PMs: Daniel (primary), Gary (secondary), Docs: Documentation team
/content/influxdb3/cloud-serverless/ @mavarius @garylfowler @influxdata/docs-team
/api-docs/influxdb3/cloud-serverless/ @mavarius @garylfowler @influxdata/docs-team
# InfluxDB 3 Explorer
# PMs: Daniel (primary), Pete (secondary), Docs: Documentation team
/content/influxdb3/explorer/ @mavarius @peterbarnett03 @influxdata/docs-team
# InfluxDB Enterprise (v1)
# Engineering: Edge team, PMs: Scott (primary), Jason (secondary), Docs: Documentation team
/content/enterprise_influxdb/ @influxdata/edge @sanderson @jstirnaman @influxdata/docs-team
# Telegraf
# Engineering: Telegraf team, PMs: Scott (primary), Ryan (secondary), Docs: Documentation team
/content/telegraf/ @influxdata/telegraf-team @sanderson @caterryan @influxdata/docs-team
# Kapacitor
# Engineering: Bonitoo team, PMs: Scott (primary), Jason (secondary), Docs: Documentation team
/content/kapacitor/ @influxdata/bonitoo @sanderson @jstirnaman @influxdata/docs-team
# Chronograf
# Engineering: Bonitoo team, PMs: Daniel (primary), Ryan (secondary), Docs: Documentation team
/content/chronograf/ @influxdata/bonitoo @mavarius @caterryan @influxdata/docs-team
# Flux
# PMs: Scott (primary), Jason (secondary), Docs: Documentation team
/content/flux/ @sanderson @jstirnaman @influxdata/docs-team
# Shared content (used by multiple products)
/content/shared/ @influxdata/docs-team @influxdata/product-managers
# API documentation (general/shared)
# Docs team for shared API tooling and configuration
# Infrastructure and tooling
/.circleci/ @influxdata/docs-team
/layouts/ @influxdata/docs-team
/assets/ @influxdata/docs-team
/scripts/ @influxdata/docs-team
/cypress/ @influxdata/docs-team
/test/ @influxdata/docs-team
/.ci/ @influxdata/docs-team
/deploy/ @influxdata/docs-team
# Build and dependency configuration
/package.json @influxdata/docs-team
/yarn.lock @influxdata/docs-team
/tsconfig.json @influxdata/docs-team
/compose.yaml @influxdata/docs-team
/Dockerfile* @influxdata/docs-team
/.vale.ini @influxdata/docs-team
/.vale-instructions.ini @influxdata/docs-team
# Agent-modified files - require human review
# These files guide AI assistants and require careful oversight
AGENTS.md @influxdata/docs-team
CLAUDE.md @influxdata/docs-team
/.github/copilot-instructions.md @influxdata/docs-team
/.github/agents/ @influxdata/docs-team
/.github/instructions/ @influxdata/docs-team
/.claude/ @influxdata/docs-team
# AI assistant instructions (require careful oversight)
AGENTS.md @influxdata/docs-team
CLAUDE.md @influxdata/docs-team
/.github/copilot-instructions.md @influxdata/docs-team
/.github/agents/ @influxdata/docs-team
/.github/instructions/ @influxdata/docs-team
/.claude/ @influxdata/docs-team

View File

@ -1,7 +1,61 @@
## Summary
Closes #
_Describe your proposed changes here._
<!-- Brief description: What changed and why? -->
- [ ] Signed the [InfluxData CLA](https://www.influxdata.com/legal/cla/)
([if necessary](https://github.com/influxdata/docs-v2/blob/master/DOCS-CONTRIBUTING.md#sign-the-influxdata-cla))
## Checklist
- [ ] Signed the [InfluxData CLA](https://www.influxdata.com/legal/cla/) ([if necessary](https://github.com/influxdata/docs-v2/blob/master/DOCS-CONTRIBUTING.md#sign-the-influxdata-cla))
- [ ] Rebased/mergeable
- [ ] Local build passes (`npx hugo --quiet`)
---
<details>
<summary><b>Suggested reviewers</b> (click to expand)</summary>
Based on files changed, consider requesting review from:
### InfluxDB 3
| Content | Engineering | Product |
|---------|-------------|---------|
| Core, Enterprise | @influxdata/monolith-team | @peterbarnett03, @garylfowler |
| Clustered | @influxdata/platform-team | @ritwika314, @sanderson |
| Cloud Dedicated | @influxdata/cloud-single-tenant | @ritwika314, @sanderson |
| Cloud Serverless | — | @mavarius, @garylfowler |
| Explorer | — | @mavarius, @peterbarnett03 |
### InfluxDB v2 / v1 / Enterprise v1
| Content | Engineering | Product |
|---------|-------------|---------|
| v2, Cloud (TSM) | @influxdata/edge | @sanderson, @jstirnaman |
| v1, Enterprise v1 | @influxdata/edge | @sanderson, @jstirnaman |
### Other Products
| Content | Engineering | Product |
|---------|-------------|---------|
| Telegraf | @influxdata/telegraf-team | @sanderson, @caterryan |
| Kapacitor | @influxdata/bonitoo | @sanderson, @jstirnaman |
| Chronograf | @influxdata/bonitoo | @mavarius, @caterryan |
| Flux | — | @sanderson, @jstirnaman |
### Shared / Cross-Product
| Content | Reviewers |
|---------|-----------|
| `/content/shared/` | @influxdata/product-managers |
| API docs | Relevant product team above |
</details>
<!--
Tips:
- Docs team (@influxdata/docs-team) is auto-assigned via CODEOWNERS
- Request additional reviewers above when ready for technical review
- Open as Draft until ready for review to avoid notification spam
- Copilot reviews automatically - address suggestions before requesting human review
-->