Skip to content

Add .github/CODEOWNERS for review assignment#851

Merged
dahlia merged 5 commits into
fedify-dev:mainfrom
dahlia:codeowners
Jun 30, 2026
Merged

Add .github/CODEOWNERS for review assignment#851
dahlia merged 5 commits into
fedify-dev:mainfrom
dahlia:codeowners

Conversation

@dahlia

@dahlia dahlia commented Jun 30, 2026

Copy link
Copy Markdown
Member

Map the monorepo's paths to maintainers so GitHub auto-requests reviews from the right owners when a pull request touches a matched path. The catch-all * makes @dahlia the default fallback; each area is then owned by the maintainer(s) who authored or maintain the bulk of its changes—@2chanhaeng leads packages/uri-template/, packages/nuxt/, packages/lint/ and the examples/, and @sij411 leads packages/relay/ and packages/backfill/. This prepares the project for the OSSCA 2026 contributor influx by making review routing deterministic.

Fixes #788.

Map the monorepo's paths to maintainers so GitHub auto-requests
reviews from the right owners when a pull request touches a matched
path.  The catch-all * makes @dahlia the default fallback; each area
is then owned by the maintainer(s) who authored or maintain the bulk
of its changes—@2chanhaeng leads packages/uri-template/, packages/
nuxt/, packages/lint/ and the examples/, and @sij411 leads packages/
relay/ and packages/backfill/.  This prepares the project for the
2026 OSSCA contributor influx by making review routing deterministic.

Closes fedify-dev#788

Assisted-by: OpenCode:glm-5.2
@dahlia dahlia requested review from 2chanhaeng and sij411 June 30, 2026 08:22
@dahlia dahlia self-assigned this Jun 30, 2026
@netlify

netlify Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploy Preview for fedify-json-schema canceled.

Name Link
🔨 Latest commit ac8ebd4
🔍 Latest deploy log https://app.netlify.com/projects/fedify-json-schema/deploys/6a4399f3c310e000090a6031

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: bed88d30-9441-409b-91b3-5e5bb952432c

📥 Commits

Reviewing files that changed from the base of the PR and between be27114 and ac8ebd4.

📒 Files selected for processing (1)
  • .github/CODEOWNERS

📝 Walkthrough

Walkthrough

A new .github/CODEOWNERS file adds default and path-specific ownership rules for the Fedify monorepo, and CONTRIBUTING.md now requires updating CODEOWNERS when adding a package.

Changes

CODEOWNERS setup

Layer / File(s) Summary
CODEOWNERS definitions
.github/CODEOWNERS
Defines default (*), .github/, root config files, /docs/, per-package entries under /packages/, and /examples/ owner assignments using @dahlia, @2chanhaeng, @sij411, and team handles, with inline comments on GitHub CODEOWNERS precedence rules.
Package checklist update
CONTRIBUTING.md
Adds a required new-package checklist item to update *.github/CODEOWNERS with the package path and owner(s).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: adding a CODEOWNERS file for automated review assignment.
Description check ✅ Passed The description is directly related to the CODEOWNERS change and its review-routing purpose.
Linked Issues check ✅ Passed The CODEOWNERS file and CONTRIBUTING update match issue #788 by adding default and path-specific ownership rules for automated review assignment.
Out of Scope Changes check ✅ Passed The only extra change updates contribution docs to mention CODEOWNERS, which is directly in scope.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@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 introduces a new .github/CODEOWNERS file to define ownership rules for the Fedify monorepo. The review feedback highlights opportunities to simplify the file by removing redundant rules, specifically the explicit entry for /.github/CODEOWNERS (which is already covered by the broader /.github/ directory rule) and the individual subdirectory entries under /examples/ (which are already covered by the /examples/ rule).

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread .github/CODEOWNERS Outdated
Comment thread .github/CODEOWNERS Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/CODEOWNERS:
- Around line 22-23: Swap the order of the two CODEOWNERS entries so the broader
/.github/ pattern comes before the more specific /.github/CODEOWNERS rule,
matching the documented precedence convention. Update the entries in CODEOWNERS
so the directory rule is listed first and the file-specific rule follows,
keeping the intended override behavior clear if owners diverge later.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 61687f12-61b9-4f1d-9774-9ecceb9e57f8

📥 Commits

Reviewing files that changed from the base of the PR and between 5b68574 and 08e6f21.

📒 Files selected for processing (1)
  • .github/CODEOWNERS

Comment thread .github/CODEOWNERS Outdated
The explicit /.github/CODEOWNERS rule duplicated the /.github/ rule
that already owns the whole directory (including the CODEOWNERS file)
with the same owner, so it was dead weight and cluttered the ordering.
Removing it also sidesteps the precedence-ordering nit: with only the
broader /.github/ rule left, the file's "broader before specific"
convention holds trivially, and the /.github/ rule still satisfies
the GitHub security guidance for owning the CODEOWNERS file itself.

Similarly, the individual /examples/nuxt/, /examples/sveltekit-sample/,
/examples/next14-app-router/, /examples/next15-app-router/, and
/examples/next-integration/ lines all repeated the /examples/ rule
with the same single owner (@2chanhaeng).  Since a trailing-slash
pattern matches the directory and all of its subdirectories, the
/examples/ rule already covers every nested example; dropping the
explicit lines simplifies the file and ensures newly added examples
are automatically owned by @2chanhaeng without manual updates.

fedify-dev#851 (comment)
fedify-dev#851 (comment)
fedify-dev#851 (comment)

Assisted-by: OpenCode:glm-5.2
@dahlia

dahlia commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

/gemini review

@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 introduces a .github/CODEOWNERS file to define ownership and automate review requests for the Fedify monorepo. The feedback suggests reorganizing the file to more accurately categorize cfworkers as a platform integration and amqp as a message queue, as well as updating CONTRIBUTING.md to remind contributors to update the code owners file when adding new packages.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread .github/CODEOWNERS Outdated
Comment thread .github/CODEOWNERS
dahlia added 2 commits June 30, 2026 17:36
cfworkers is a Cloudflare Workers platform integration, not a database
adapter, so it does not belong in the "Database adapters" group.  amqp
is a message queue driver, not a database adapter either.  Rename the
former "Database adapters" section to "Database adapters and message
queues" to cover amqp and the MQ sides of the other adapters, and move
packages/cfworkers/ into the framework section, which is renamed to
"Framework and platform integrations" to reflect that it covers both
web framework adapters and platform runtimes.

fedify-dev#851 (comment)

Assisted-by: OpenCode:glm-5.2
Now that .github/CODEOWNERS maps paths to maintainers for automatic
review assignment, contributors adding a new package need to update it
too; otherwise the package falls back to the default owner and skips
routing to the right reviewer.  Add a step to the "Adding a new
package" checklist in CONTRIBUTING.md pointing at .github/CODEOWNERS.

fedify-dev#851 (comment)

Assisted-by: OpenCode:glm-5.2
@dahlia

dahlia commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

/gemini review

@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 introduces a .github/CODEOWNERS file to define ownership for various paths in the Fedify monorepo and updates CONTRIBUTING.md to require updating this file when adding new packages. The review feedback suggests replacing shorthand issue references (e.g., #788) with full permalink URLs to ensure the context is preserved if the repository is moved.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread .github/CODEOWNERS
Comment thread .github/CODEOWNERS
@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

sij411
sij411 previously approved these changes Jun 30, 2026
Comment thread .github/CODEOWNERS Outdated
Jiwon Kwon has contributed to the documentation as well, so route
review requests for /docs/ to her alongside Hong Minhee and
ChanHaeng Lee.

Assisted-by: OpenCode:glm-5.2
dahlia pushed a commit that referenced this pull request Jun 30, 2026
Custom collection dispatchers registered through
FederationBuilder.setCollectionDispatcher() and
setOrderedCollectionDispatcher() returned 404 Not Found after build().
The build() method copied object callbacks and type IDs onto the built
federation but omitted the collection ones, so the registered routes
were treated as unknown routes.  build() now copies collectionCallbacks
and collectionTypeIds as well, so the routes dispatch their collections.
Also adds a regression test for that.

Fixes #849
#851

Assisted-by: Claude Code:claude-opus-4-8
@dahlia dahlia merged commit a9fe109 into fedify-dev:main Jun 30, 2026
21 checks passed
@dahlia dahlia deleted the codeowners branch June 30, 2026 12:50
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.

Set up CODEOWNERS for automated review assignment

3 participants