Skip to content

chore: add CodeRabbit review config and a contributor license agreement - #48

Merged
tushar-mahalya merged 1 commit into
mainfrom
chore/coderabbit-and-cla
Nov 23, 2026
Merged

tushar-mahalya merged 1 commit into
mainfrom
chore/coderabbit-and-cla

Conversation

@tushar-mahalya

Copy link
Copy Markdown
Member

What and why

I want every pull request to get a quick automated review and a clear
licensing record before it merges, the way narwhals (CodeRabbit) and
openevolve (CLA Assistant) do it.

  • .coderabbit.yaml: CodeRabbit config tuned to this repo. It uses the chill
    profile, no poem, and skips drafts and bot authors (dependabot, renovate,
    github-actions). It ignores lockfiles, build output, coverage and the
    search-engine verification files. Review guidance covers each area: the
    commands/ → logic → ui layering, kdev_box.py staying stdlib-only,
    offline tests, SHA-pinned least-privilege workflows, and docs/CHANGELOG
    conventions. It enables the linters that fit the stack (ruff with
    pyproject.toml, actionlint, zizmor, yamllint, markdownlint, gitleaks,
    osv-scanner, biome) and turns off the ones that duplicate them or have
    nothing to check here. It is not a required check: its comments are advice.
  • CLA.md: the SAP Individual CLA, which is CLA Assistant's default, with only
    the parties, project and contact line adapted. The signed copy is the public
    gist https://gist.github.com/tushar-mahalya/1d7d94837ac7dad23fbec6645310ee26,
    which is identical to CLA.md. The two must stay in sync, and editing the
    gist makes contributors re-sign.
  • CONTRIBUTING.md and its website copy: new "Automated review" and
    "Contributor License Agreement" sections, and the License section points to
    the CLA.

There is no CHANGELOG entry, since nothing changes for kdev users.

How I checked it

  • uvx check-jsonschema --schemafile https://coderabbit.ai/integrations/schema.v2.json .coderabbit.yaml
    passes. The schema rejects unknown keys, and a deliberate typo fails.
  • pre-commit passes on the changed files, and the tests passed on push.

Manual steps (owner, in a browser)

  1. Install the CodeRabbit app for this repo only:
    https://github.com/apps/coderabbitai (free for public repos).
  2. Sign in at https://cla-assistant.io with GitHub, choose "Configure CLA",
    pick tushar-mahalya/kdev, and paste the gist URL above.
    • In its settings, allowlist dependabot[bot], github-actions[bot],
      renovate[bot] and coderabbitai[bot].
    • Sign the CLA once yourself.
    • CLA Assistant recommends also installing its GitHub App
      (https://github.com/apps/cla-assistant) to avoid rate-limit failures.
  3. Optional, and only after step 2 shows a license/cla status on a test PR:
    in Settings → Rules → the main ruleset → "Require status checks to pass",
    add license/cla. If you add it before CLA Assistant is live, every PR
    (this one included) is blocked.

Checklist

  • uv run pre-commit run passes on the changed files
  • No user-visible change, so no CHANGELOG entry

Every pull request now gets an automatic CodeRabbit review, tuned to
this repo's layering, offline tests and pinned workflows, and a CLA
Assistant check. The CLA is the SAP Individual CLA that CLA Assistant
offers by default, with only the names and project adapted; its signed
copy lives in a public gist. CONTRIBUTING (and its website copy) explains
both.
@tushar-mahalya
tushar-mahalya merged commit 39ffc1f into main Nov 23, 2026
15 checks passed
@tushar-mahalya
tushar-mahalya deleted the chore/coderabbit-and-cla branch November 23, 2026 09:40

This branch was successfully deployed

1 active deployment
preview — 796e7797 Deployed Nov 23, 2026 by tushar-mahalya via preview URL #9
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