Skip to content

Disable CodeRabbit's built-in docstring coverage check - #12167

Merged
kiview merged 2 commits into
mainfrom
claude/project-thread-yoqsii
Nov 15, 2026
Merged

kiview merged 2 commits into
mainfrom
claude/project-thread-yoqsii

Conversation

@kiview

@kiview kiview commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

CodeRabbit's built-in Docstring Coverage pre-merge check needs 80% docstring coverage on every method a PR touches, test methods included. Since June it ran on 94 PRs. It warned on 57 of them, and on 56 of those it was the only warning, so the warnings are mostly noise that contributors learn to skip past.

This PR sets reviews.pre_merge_checks.docstrings.mode: "off" in .coderabbit.yaml. That file is the single source of truth for CodeRabbit on this repo, so nothing changes in the web settings. The three custom checks stay as they are. AGENTS.md already asks for Javadoc on public classes and methods, and check builds the Javadoc.

How to verify: CodeRabbit reports schema errors in .coderabbit.yaml on the PR that changes it, and its summary on this PR should no longer list Docstring Coverage.


Generated by Claude Code

Summary by CodeRabbit

  • Chores
    • Updated internal review settings. This change does not affect product features or behavior, and no changes to the user experience are included in this release.

The built-in pre-merge check requires 80% docstring coverage on every
touched method, including test methods, and was the only warning on
nearly every PR it flagged. Javadoc on public API is already built and
enforced by the Gradle check task, so turn the check off in
.coderabbit.yaml, the single source of truth for CodeRabbit config.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kiview
kiview requested a review from a team as a code owner November 15, 2026 06:48
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@kiview kiview self-assigned this Nov 15, 2026
@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pre-merge check configuration sets the built-in docstrings check mode to "off".

Changes: Pre-merge Checks

Layer / File(s) Summary
Docstrings check setting
.coderabbit.yaml
The configuration sets the built-in docstrings pre-merge check mode to "off".

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: eddumelendez, pioorg

Merge Risk: Minimal · up to 7a217

This disables a CodeRabbit review check for docstring coverage. It does not affect product runtime behavior, and the change is easy to revert, so merge risk is minimal.

Pre-merge checks: Passed 7

Check name Status Explanation
Title check Passed The title states the main change: the built-in docstring coverage check is disabled. The raw summary confirms .coderabbit.yaml sets the docstrings pre-merge check mode to off, so the title matches the…
Description check Passed The description explains the problem (the Docstring Coverage check's 80% requirement produced mostly noise), the change (setting reviews.pre_merge_checks.docstrings.mode to off in .coderabbit.yaml), t…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
New Module Registration Passed The check applies only when the PR adds a new directory under modules/. The PR diff range (refs/coderabbit/pre-merge-check/base to head) lists one changed file: M .coderabbit.yaml. A diff restricted…
Public Api Compatibility Passed The check applies to changes under src/main/java that remove, rename, or alter the signature, return type, or visibility of public or protected API elements. The changed-file inventory for the reviewe…
Tests For Behaviour Changes Passed The check applies only when the PR changes behaviour in src/main/java. The reviewed range changes one file: .coderabbit.yaml (modified, +4 lines). The change adds `reviews.pre_merge_checks.docstring…
Full details: Title check

Explanation

The title states the main change: the built-in docstring coverage check is disabled. The raw summary confirms .coderabbit.yaml sets the docstrings pre-merge check mode to off, so the title matches the changeset.

Full details: Description check

Explanation

The description explains the problem (the Docstring Coverage check's 80% requirement produced mostly noise), the change (setting reviews.pre_merge_checks.docstrings.mode to off in .coderabbit.yaml), the reason the custom checks and Javadoc enforcement remain, and how to verify. It does not follow the Testcontainers template, which asks for contributing notes, module registration, and a description of the change. Those items are mostly not applicable to a configuration-only change, but the template's Describing Your Changes section is covered in substance. No issue reference is given, and none appears required for this change.

Full details: New Module Registration

Explanation

The check applies only when the PR adds a new directory under modules/. The PR diff range (refs/coderabbit/pre-merge-check/base to head) lists one changed file: M .coderabbit.yaml. A diff restricted to modules/ returns no entries, so the PR adds no module directory. The check is inapplicable and passes. The PR only sets reviews.pre_merge_checks.docstrings.mode: "off" in .coderabbit.yaml, which does not trigger the module registration requirements.

Full details: Public Api Compatibility

Explanation

The check applies to changes under src/main/java that remove, rename, or alter the signature, return type, or visibility of public or protected API elements. The changed-file inventory for the reviewed range (refs/coderabbit/pre-merge-check/base..head) contains a single modified file: .coderabbit.yaml. Its patch adds a reviews.pre_merge_checks.docstrings.mode: "off" block with comments. git diff --name-only under src/main/java returned no files, so no public or protected Java class, method, constructor, or field was touched. Additive or non-Java changes pass this check. Primary PR author is kiview (provider-reported), which does not affect this check.

Full details: Tests For Behaviour Changes

Explanation

The check applies only when the PR changes behaviour in src/main/java. The reviewed range changes one file: .coderabbit.yaml (modified, +4 lines). The change adds reviews.pre_merge_checks.docstrings.mode: "off", which is a CodeRabbit review-configuration setting. No file under src/main/java or src/test changed, so no runtime behaviour changed and no test is required. The check passes because the PR is build/configuration-only.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 6fef261 and 7a217f9.

Files selected for processing: 1

  • .coderabbit.yaml

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@kiview
kiview merged commit 917b307 into main Nov 15, 2026
103 checks passed
@kiview
kiview deleted the claude/project-thread-yoqsii branch November 15, 2026 08:19
@kiview kiview added this to the next milestone Nov 15, 2026 — with Claude
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