Skip to content

chore(codeowners): protect /packages/ and /core/ while allowing partner ownership of handwritten and CI checks - #9406

Merged
quirogas merged 2 commits into
googleapis:mainfrom
quirogas:chore/codeowners-and-partner-ci-routing
Sep 22, 2026
Merged

quirogas merged 2 commits into
googleapis:mainfrom
quirogas:chore/codeowners-and-partner-ci-routing

Conversation

@quirogas

@quirogas quirogas commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Update CODEOWNERS and assign review workflows for /packages/ and /core/ to make sure any changes to this directories require core Node team approval. This changes preserves self-service workflows for partner teams across their handwritten/ directories, releases, and CI checks.

Breakdown

  • Strict /packages/ and /core/ Ownership: Explicitly scopes /packages/ and /core/ to @googleapis/cloud-sdk-nodejs-team (with /core/packages/google-auth-library-nodejs co-owned with @googleapis/aion-team).
  • Partner handwritten/ Ownership: Restores /handwritten/bigtable (@googleapis/bigtable-team) and /handwritten/pubsub (@googleapis/pubsub-team) and includes @googleapis/cloud-sdk-nodejs-team alongside each partner team.
  • Partner-Exclusive CI Checks: Grants the corresponding partner teams code ownership (alongside @googleapis/cloud-sdk-nodejs-team) and PR routing in assign-reviewers.yml for all partner-exclusive CI workflows:
    • .github/workflows/bigtable-conformance.yaml (@googleapis/bigtable-team)
    • .github/workflows/mandatory-conformance.yaml (@googleapis/bigtable-team)
    • .github/workflows/storage-conformance.yaml (@googleapis/gcs-team)
    • .github/workflows/system-tests-against-emulator.yaml (@googleapis/spanner-team)
    • .github/workflows/discovery.yaml (@googleapis/bigquery-team)
  • Self-Service Handwritten Releases & Lockfile Updates: Includes partner teams on /pnpm-lock.yaml, /.release-please-manifest.json, and /changelog.json so partner teams can self-service approve their own handwritten/ dependency updates and release-please releases.
  • Mixed PR Safeguard in assign-reviewers.yml: Ensures that if a PR touches both partner-owned files and non-partner files (such as /packages/ or /core/), assign-reviewers.yml still assigns a load-balanced cloud-sdk-nodejs-team reviewer rather than stripping cloud-sdk-nodejs-team.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the .github/CODEOWNERS file to redefine and expand ownership rules. Specifically, it designates the Node.js SDK team (@googleapis/cloud-sdk-nodejs-team) as co-owners for various handwritten libraries, partner-exclusive CI workflows, conformance checks, and shared workspace files such as lockfiles and release manifests. It also defines strict ownership for the /packages/ and /core/ directories. There are no review comments, and I have no additional feedback to provide.

@quirogas
quirogas force-pushed the chore/codeowners-and-partner-ci-routing branch from 2082061 to f98ae2c Compare September 22, 2026 00:10
@quirogas
quirogas marked this pull request as ready for review September 22, 2026 00:48
@quirogas
quirogas requested a review from a team as a code owner September 22, 2026 00:48
Comment thread .github/CODEOWNERS
@quirogas
quirogas enabled auto-merge (squash) September 22, 2026 04:28
@quirogas
quirogas merged commit 09fc7c2 into googleapis:main Sep 22, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants