Skip to content

ci: add CodeRabbit config (Gemini-sunset replacement reviewer) - #176

Merged
jeremylongshore merged 1 commit into
mainfrom
ci/wire-coderabbit
Jun 18, 2026
Merged

ci: add CodeRabbit config (Gemini-sunset replacement reviewer)#176
jeremylongshore merged 1 commit into
mainfrom
ci/wire-coderabbit

Conversation

@jeremylongshore

Copy link
Copy Markdown
Owner

Adds .coderabbit.yaml — CodeRabbit as the workhorse reviewer replacing Gemini Code Assist (consumer Gemini review ceases 2026-07-17). CodeQL still owns security (non-overlapping). The config's path_instructions carry the IEP failure-class checklist (3-way schema↔Zod↔Pydantic drift in both directions, cross-artifact semantic drift, unenforced signed-row invariants, non-tamper-evident lineage, claims-vs-code, non-additive shape changes) — the classes DR-085 + the glance + Gemini itself caught that deterministic CI can't. Requires the CodeRabbit GitHub App installed on the account/org to take effect.

CodeRabbit becomes the workhorse code reviewer as consumer Gemini Code Assist ceases
2026-07-17. CodeQL still owns security scanning (non-overlapping). .coderabbit.yaml
ports the IEP review priorities into path_instructions — the failure classes DR-085 +
the qualified-reviewer glance proved deterministic CI can't catch (3-way schema/Zod/
Pydantic drift, cross-artifact semantic drift, unenforced signed-row invariants,
non-tamper-evident lineage, claims-vs-code, non-additive shape changes).

Requires the CodeRabbit GitHub App installed on the account/org to take effect.
@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces CodeRabbit as the new automated review tool to ensure continued coverage following the sunset of Gemini Code Assist. The configuration is tailored to enforce strict validation rules for the Intent Eval Platform, focusing on schema parity, semantic consistency, and script safety.

Highlights

  • CodeRabbit Integration: Added a new .coderabbit.yaml configuration file to establish CodeRabbit as the primary automated code reviewer, replacing the deprecated Gemini Code Assist.
  • Custom Review Instructions: Implemented specialized path-specific instructions to monitor for three-way schema drift (JSON Schema, Zod, Pydantic), cross-artifact semantic drift, and invariant enforcement across core platform components.
  • CI Script Validation: Configured automated checks for shell and YAML scripts to detect silent no-ops and unsafe bash array expansions.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@jeremylongshore, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 35 minutes and 27 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0693288c-420b-4e4c-a8e4-92fc351145c6

📥 Commits

Reviewing files that changed from the base of the PR and between 34823f6 and d53edd6.

📒 Files selected for processing (1)
  • .coderabbit.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/wire-coderabbit

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 and usage tips.

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request introduces a .coderabbit.yaml configuration file to set up automated CodeRabbit reviews with specific path instructions. The reviewer correctly identified that the path glob configured for the kernel review instructions does not match the repository's directory structure (which uses specs/ and research/ instead of schemas/, src/, and python/), meaning the rules would not be applied. A suggestion was provided to update the path glob to include the correct directories.

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 .coderabbit.yaml
- "!pnpm-lock.yaml"
- "!**/*.lock"
path_instructions:
- path: "**/{schemas,src,python}/**"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

The path glob **/{schemas,src,python}/** does not match the directory structure of the intent-eval-lab repository. In this repository, schemas are located under specs/ and Python scripts/tests are located under research/phase-a-0-baseline/.\n\nAs a result, CodeRabbit will silently skip applying these crucial kernel review instructions to the actual schema and Python files in this codebase.\n\nTo ensure these instructions are applied correctly, the path glob should be updated to include specs and research directories.

    - path: "**/{schemas,src,python,specs,research}/**"
References
  1. The repository style guide mandates strict checks for three-way schema drift and cross-artifact semantic consistency. The CodeRabbit configuration must be correctly scoped to the directories containing these files (such as specs/ and research/) to enforce these rules. (link)

@jeremylongshore
jeremylongshore merged commit 363b0da into main Jun 18, 2026
6 of 7 checks passed
@jeremylongshore
jeremylongshore deleted the ci/wire-coderabbit branch June 18, 2026 17:56
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.

1 participant