Skip to content

chore: add CodeRabbit config - #1253

Merged
hryhoriiK97 merged 4 commits into
mainfrom
chore/coderabbit-setup
Nov 27, 2026
Merged

hryhoriiK97 merged 4 commits into
mainfrom
chore/coderabbit-setup

Conversation

@hryhoriiK97

@hryhoriiK97 hryhoriiK97 commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

What/Why?

The org owners installed CodeRabbit on this repository. This PR adds its config, .coderabbit.yaml, and mentions it in the contributing docs. It follows react-native-enriched's setup (software-mansion/react-native-enriched-html#883).

  • Profile chill, no high-level summary, no poem. Comments stay on real problems, and the PR template already covers the summary.
  • Auto review on, drafts skipped.
  • Path filters leave out:
    • lockfiles (yarn.lock, Podfile.lock, Gemfile.lock)
    • the Maestro screenshot baselines
    • the generated WASM bundle in src/web/wasm/, which CI checks against the core
    • generated or committed tooling files: compile_commands.json, .yarn/releases/, *.pbxproj
  • Code guidelines on. CodeRabbit also picks up docs/CLAUDE.md for docs changes.

This repo has no review guideline file like react-native-enriched's copilot-instructions.md, so these path instructions go straight into the config:

Path Rule
packages/core/cpp/** Shared by every package (RN iOS/Android/web, standalone iOS, standalone Android through JNI). Check none of them breaks.
RN ios/, android/, src/web/ Features and public behavior stay in parity across the three platforms. Single-platform bug fixes are not flagged. For a bug fix, check whether the matching standalone package has the same bug and leave one non-blocking note.
RN src/**/*.{ts,tsx} Public API changes need the native specs, all platforms, docs/docs/react-native/ and docs-md/ updated.
packages/enriched-markdown-ios/** Standalone SwiftPM package. Features stay in parity with the standalone Android package. API changes need docs/docs/ios/, the README and tests. For a bug fix, check whether the RN ios/ code has the same bug and leave one non-blocking note.
packages/enriched-markdown-android/** Standalone Gradle modules (ui, compose, parser, math, code-highlight). Features stay in parity with the standalone iOS package. API changes need docs/docs/android/, the README and tests. compose wraps ui. For a bug fix, check whether the RN android/ code has the same bug and leave one non-blocking note.
apps/** Example apps use only the public API. Maestro flows find elements by testID / accessibilityIdentifier / testTag and CI does not run them, so renamed IDs or changed sample content need matching .maestro/ updates.
apps/react-native-macos-example/** No CI check builds or typechecks it, so check the change still matches the current API.
docs/** Examples must mirror their pages, links must not break, and documented APIs must match the code.
.github/workflows/** Untrusted PR code with secrets or write permissions, and permissions broader than needed.

The React Native package and the standalone packages implement the same features separately, often in files with the same name. The cross-package checks catch a bug fixed in one copy but not the other, without asking for both fixes in one PR.

The docs change is one paragraph in docs/docs/misc/contributing.md ("Sending a pull request") and one in CONTRIBUTING.md. Each says that CodeRabbit reviews non-draft PRs, that its comments are suggestions rather than a merge requirement, and that @coderabbitai review runs it again.

Testing

If CodeRabbit reviews this PR, the integration works.

PR Checklist

  • Code compiles and runs on iOS
  • Code compiles and runs on Android
  • Updated documentation/README if applicable
  • Ran example app to verify changes
  • E2E tests are passing
  • Required E2E tests have been added (if applicable)

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The change adds CodeRabbit configuration for automatic reviews of non-draft pull requests. Both contributing guides describe the review process and the command to request another review.

Changes: CodeRabbit review setup

Layer / File(s) Summary
Review configuration
.coderabbit.yaml
The configuration sets review options, excluded paths, and the code-guidelines knowledge base.
Path-specific review guidance
.coderabbit.yaml
The configuration adds review instructions for platform code, example apps, documentation, and workflows.
Contributor guidance
CONTRIBUTING.md, docs/docs/misc/contributing.md
Both contributing guides describe automatic reviews and how to request another review. The documentation guide states that review comments are suggestions, not merge requirements.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Merge Risk: Minimal · up to 47097

This change adds automated review configuration and contributor documentation, with no effect on product behavior. It is low risk and can be merged.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "chore: add CodeRabbit config" matches the main change: adding the .coderabbit.yaml configuration file. It is short, specific, and follows a conventional commit style. The docs mentions are …
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.
Description check Passed The description states the PR adds a .coderabbit.yaml configuration, explains the chill profile, auto-review with draft skipping, the path filters, path-specific review rules, and the contributing d…
Full details: Title check

Explanation

The title "chore: add CodeRabbit config" matches the main change: adding the .coderabbit.yaml configuration file. It is short, specific, and follows a conventional commit style. The docs mentions are a minor secondary part and need not be in the title.

Full details: Description check

Explanation

The description states the PR adds a .coderabbit.yaml configuration, explains the chill profile, auto-review with draft skipping, the path filters, path-specific review rules, and the contributing doc updates. It is directly related to the changeset, so it is not off-topic or vague.

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 cda2f68 and 470974a.

Files selected for processing: 2

  • .coderabbit.yaml
  • CONTRIBUTING.md
Files skipped from review as they are similar to previous changes: 1

  • CONTRIBUTING.md

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

…and workflows

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copilot AI 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.

🟢 Approval recommended

No active review issues are reported for the CodeRabbit configuration and contributing-guide updates.

No open issues 🎉

What changed in this PR

Adds repository-specific CodeRabbit configuration and documents automated reviews in both contributing guides.

Changes:

  • Enables automatic reviews for non-draft PRs with the chill profile, without high-level summaries or poems.
  • Excludes lockfiles, screenshot baselines, and vendored Swift code; adds path-specific guidance for platform parity, APIs, documentation, and workflow security.
  • Documents CodeRabbit’s role and the @coderabbitai review command.
File Description
docs/​docs/​misc/​contributing.md Explains automated reviews, advisory comments, and how to request another review.
CONTRIBUTING.md Adds a brief automated-review notice and review command.
.coderabbit.yaml Defines review settings, exclusions, path instructions, and code-guideline support.

Review effort: Balanced

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hryhoriiK97
hryhoriiK97 requested review from Redy144 and maksg November 27, 2026 13:38
@hryhoriiK97
hryhoriiK97 merged commit bfc4777 into main Nov 27, 2026
24 checks passed
@hryhoriiK97
hryhoriiK97 deleted the chore/coderabbit-setup branch November 27, 2026 15:00
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.

3 participants