Skip to content

.github: label qa/cephfs changes, and flag new QA log ignorelist entries - #72875

Open
dvanders wants to merge 2 commits into
ceph:mainfrom
dvanders:wip-codeowners-cephfs
Open

dvanders wants to merge 2 commits into
ceph:mainfrom
dvanders:wip-codeowners-cephfs

Conversation

@dvanders

@dvanders dvanders commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

The overrides in qa/cephfs/overrides/ are linked into every fs suite (and into orch/cephadm/nfs, through fs/nfs), so a one-line change there reaches much further than the diff suggests. #70177 ran into exactly this: a reasonable fix for a noisy NFS suite that also quieted MDS_CLIENT_LATE_RELEASE across all of CephFS QA, which only came to light after it merged (#72636). Nothing in our tooling would have pointed that out to the author or the reviewer, so this PR tries to make it visible up front.

  1. Label qa/cephfs changes. The labeler's cephfs rule misses qa/cephfs/, so a PR touching only that directory doesn't get the cephfs label. The first commit adds qa/cephfs/** to it. The matching CODEOWNERS section, which asks the CephFS team to review, is now in .github: fill CODEOWNERS gaps #72877, as requested.

  2. Make new ignorelist entries visible. The second commit adds an optional "QA log ignorelist" section to the PR checklist, and a workflow that fails when a PR adds log-ignorelist entries to a qa yaml unless that item is ticked. It lists the new entries per file, compares against the merge base, and skips symlinks, so linking an existing ignorelist into a new suite does not trigger it. Like the config-diff and .qa link checks, it runs the script from main and reads the PR only through the API.

Over the 717 merges to main since 2026-08-20, the check would have fired on 17, mostly a team adding entries to its own suite, where ticking the box costs nothing. The aim is just a prompt to loop in the owning team; once #72877 adds CephFS to CODEOWNERS, that team will usually already be on the PR by the time the question comes up.

Testing

pull_request_target workflows run from main, so this one cannot run on this PR. I ran the script locally against real PRs:

PR result
#70177 fails, listing MDS_CLIENT_LATE_RELEASE and responding to mclientcaps in qa/cephfs/overrides/ignorelist_health.yaml
#70177, box ticked passes
#72636 passes, no entries added
#69320 its new ignorelist_*.yaml symlinks are skipped; its two new task yamls are flagged
#68893 flags its 5 new entries in qa/overrides/upgrade_ignorelist_health.yaml

The template, filled in with the new box ticked, still passes ceph-pr-checklist-action, which treats the new section as optional.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)

@github-actions github-actions Bot added the CI Continuous Integration label Oct 20, 2026
@dvanders
dvanders force-pushed the wip-codeowners-cephfs branch from 09d9be3 to 914d9df Compare October 20, 2026 15:44
@dvanders dvanders mentioned this pull request Oct 20, 2026
4 of 14 tasks

@batrick batrick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please move CODEOWNERS changes to #72877

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]>
A log-ignorelist entry hides a cluster log warning from every job that
includes the yaml, and the overrides that carry them are often shared
between many suites through symlinks. How far an entry reaches is hard
to see from the diff alone, for the author and the reviewer alike.

Add a "QA log ignorelist" section to the PR checklist, and a workflow
that fails when a PR adds log-ignorelist entries to a qa yaml unless
that item is ticked. The workflow lists the new entries per file. It
compares each changed yaml against the merge base, reads the PR only
through the API, and skips symlinks, since linking an existing yaml
into another suite does not add entries to it.

The existing checklist action treats the new section as optional, so
PRs that add no entries are unaffected. Run over the merges to main
since 2026-08-20, the check would have fired on 17 of 717.

Assisted-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Dan van der Ster <[email protected]>
@dvanders
dvanders force-pushed the wip-codeowners-cephfs branch from 914d9df to e0d71da Compare October 21, 2026 19:54
@dvanders dvanders changed the title .github: request CephFS review, and flag new QA log ignorelist entries .github: label qa/cephfs changes, and flag new QA log ignorelist entries Oct 21, 2026
@dvanders

Copy link
Copy Markdown
Contributor Author

@batrick done, moved the CODEOWNERS section to #72877.

@dvanders
dvanders requested a review from batrick October 21, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants