Repository navigation
.github: fill CODEOWNERS gaps - #72877
Merged
Merged
Conversation
Several paths that .github/labeler.yml maps to a component have no CODEOWNERS entry, so a PR touching only those paths is labelled for a team but never sent to it. Add the owner the labeler already implies: - crimson: qa/suites/crimson-rados - core: the core mgr modules (balancer, crash, devicehealth, insights, localpool, osd_perf_query, osd_support, pg_autoscaler, progress) and the mgr python framework files, which sit next to /src/mgr; src/test/librados, src/test/mon, src/test/mgr; and the kvstore, monstore, objectstore, crush, monmap and osdmap tools - rbd: the immutable object cache (tool, tests, qa tasks, options, systemd units) - rgw: src/cls/timeindex, the librgw_* tests, the rgw mgr module and the kafka_failover qa task - smb: qa/tasks/smb.py and qa/workunits/smb, paired with @ceph/orchestrators like the other smb entries Also drop three entries that no longer match any file: qa/tasks/mgr/test_cephadm_orchestrator.py (removed in 2020), src/spawn (removed in 2024) and src/test/cls_otp (never added). Assisted-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Dan van der Ster <[email protected]>
Some component code has no CODEOWNERS entry although its owner is not in doubt. Add: - orchestrators: src/ceph-node-proxy and the ceph_secrets mgr module - orchestrators and cephfs: the nfs mgr module, which manages both the NFS service and its CephFS exports - core: src/osdc, src/crypto, src/compressor, src/extblkdev, src/test/objectstore, qa/objectstore and qa/objectstore_debug - crimson: qa/objectstore_crimson and qa/suites/crimson-rados-experimental Assisted-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Dan van der Ster <[email protected]>
The release notes, the release and distro definitions used by qa, and the upgrade suites have no CODEOWNERS entry, although the release manager curates all of them. Add @ceph/ceph-release-manager for PendingReleaseNotes, doc/releases (with doc-writers), qa/distros, qa/releases and src/ceph_release, and together with @ceph/core, which maintains the upgrade suites, for qa/suites/upgrade and the ignorelist shared by the upgrade suites. Assisted-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Dan van der Ster <[email protected]>
dvanders
requested review from
Matan-B,
adk3798,
batrick,
cbodley,
idryomov,
phlogistonjohn,
rzarzynski and
vshankar
October 20, 2026 16:17
4 of 14 tasks
CODEOWNERS has no entry for @ceph/cephfs, so changes to CephFS code, or to qa/cephfs/ where the overrides shared by the fs suites live, are not sent to the CephFS team, even though every fs suite (and orch/cephadm/nfs, which links to fs/nfs) picks up qa/cephfs. ceph#70177 is an example: a reasonable fix for the NFS suite that also reached all fs suites, which only became apparent after it merged (see ceph#72636). Add a CephFS section, covering the paths the labeler maps to cephfs plus qa/cephfs, the CephFS tests and tools, the mount.ceph helper and the stats module. It goes after the core section so that MDSMonitor and FSCommands keep @ceph/core and add @ceph/cephfs. Assisted-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Dan van der Ster <[email protected]>
dvanders
added a commit
to dvanders/ceph
that referenced
this pull request
Oct 21, 2026
The labeler's cephfs rule misses qa/cephfs/, where the overrides shared by the fs suites live, so a change there is not labelled cephfs, even though every fs suite (and orch/cephadm/nfs, which links to fs/nfs) picks it up. ceph#70177 is an example: a reasonable fix for the NFS suite that also reached all fs suites, which only became apparent after it merged (see ceph#72636). Add qa/cephfs/** to the labeler's cephfs rule. The matching CODEOWNERS entries are in ceph#72877. Assisted-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Dan van der Ster <[email protected]>
batrick
approved these changes
Oct 23, 2026
idryomov
reviewed
Oct 23, 2026
| /src/test/test_rgw* @ceph/rgw | ||
|
|
||
| # releases | ||
| /PendingReleaseNotes @ceph/ceph-release-manager |
Contributor
There was a problem hiding this comment.
I'd question this assignment. AFAIU individual release note drafts are owned by the respective components, there isn't an expectation of an approval from the release manager before e.g. an RBD PR containing a release note worthy change gets merged. (I said release note drafts because the wording in PendingReleaseNotes isn't final: it often gets massaged as part of an actual release PR (i.e. one against doc/releases) and sometimes doesn't get used at all -- for the last couple of stable releases Yuri went purely with an AI-summarized git log.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #72875. Several paths that
.github/labeler.ymlalready assigns to a component have no CODEOWNERS entry, so a PR touching only those paths gets the team's label but no review request from that team. The first commit adds the owner the labeler already implies, and nothing else:qa/suites/crimson-rados/src/mgr;src/test/{librados,mon,mgr}; the kvstore, monstore, objectstore, crush, monmap and osdmap toolssrc/cls/timeindex,src/test/librgw_*, the rgw mgr module,qa/tasks/kafka_failover.pyqa/tasks/smb.py,qa/workunits/smb, paired with@ceph/orchestratorslike the other smb entriesThe second commit covers component code that neither file assigns but whose owner is not in doubt:
src/ceph-node-proxy, the ceph_secrets mgr modulesrc/osdc,src/crypto,src/compressor,src/extblkdev,src/test/objectstore,qa/objectstore,qa/objectstore_debugqa/objectstore_crimson,qa/suites/crimson-rados-experimentalThe third commit asks the release manager to review the release files:
PendingReleaseNotes,doc/releases(with doc-writers),qa/distros,qa/releasesandsrc/ceph_release, and, together with@ceph/core, which maintains them,qa/suites/upgradeandqa/overrides/upgrade_ignorelist_health.yaml, the ignorelist the upgrade suites share.The fourth commit, moved here from #72875, adds a CephFS section: the paths the labeler maps to cephfs, plus
qa/cephfs(the overrides shared by every fs suite), the CephFS tests and tools, the mount.ceph helper and the stats module. It sits after core, soMDSMonitor.*andFSCommands.*ask both@ceph/coreand@ceph/cephfs.The first commit also drops three entries that match no file:
qa/tasks/mgr/test_cephadm_orchestrator.py(removed in 2020),src/spawn(removed in 2024) andsrc/test/cls_otp(never added).Each team, please check your own lines; if a path should go elsewhere or be left unowned, say so and I'll adjust.
Two calls I made that may deserve a second look:
mgr_module.py,mgr_util.pyand the other mgr framework files go to@ceph/core, since core owns/src/mgr, although every mgr module depends on them.@ceph/smbalone.Not in this PR
Some busy paths have no owner and no obvious one:
src/common,src/include,src/auth,src/messages, the prometheus and telemetry mgr modules, and shared qa plumbing such as the rest ofqa/overrides,qa/configandqa/clusters. Those need a decision from the teams rather than a mechanical change.Two teams named in or relevant to CODEOWNERS lack write access to this repo, so GitHub silently skips them:
@ceph/ceph-csi-maintainers(already listed for/doc/csi/, flagged by GitHub's CODEOWNERS check) and@ceph/nvmeof. Fixing that needs an org admin.Testing
I resolved every tracked file against the new CODEOWNERS with git's wildmatch rules. Every file the labeler maps to crimson, core, rbd, rgw, smb, mon or mgr now has an owner, and no rule is left matching nothing. This PR gives an owner to 2,495 files (885 from the first three commits, 1,610 from the CephFS section); unowned files on main drop from 5,441 to 2,946 (of 14,985).
Checklist