-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
61 lines (54 loc) · 2.77 KB
/
Copy path.coderabbit.yaml
File metadata and controls
61 lines (54 loc) · 2.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# CodeRabbit configuration for AI Engineering Bootcamp Prerequisites
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: "en-US"
# Tone: concise, constructive feedback aligned with bootcamp learning goals (max 250 chars)
tone_instructions: "Concise, constructive feedback. Focus on RAG/AI and agentic patterns (LangGraph, tools). Be direct and supportive. Flag project conventions (uv, api.X imports, Optional) and lessons-learned pitfalls."
early_access: true
reviews:
profile: assertive
review_details: true
in_progress_fortune: false
poem: false
auto_review:
enabled: true
drafts: true
base_branches:
- .*
path_filters:
- "apps/**"
- "scripts/**"
- "notebooks/**"
path_instructions:
- path: "apps/api/**/*.py"
instructions: |
FastAPI backend. Conventions: use uv not pip; imports from api.X not apps.api.src.api.X;
Pydantic use Optional for nullable fields; Docker use service names (qdrant:6333) not localhost.
Instructor requires response_model= in create_with_completion(). Avoid KeyError by validating return structure.
- path: "apps/api/**/*.yaml"
instructions: |
YAML prompt configs. Use Jinja2 {{ variable }} syntax; preserve metadata (version, author);
multiline strings use | for literal blocks.
- path: "notebooks/**/*.ipynb"
instructions: |
Learning notebooks. Prioritize clarity for tutorials; code quality matters.
Clean outputs before commit (make clean-notebook-outputs). Prefer load_dotenv() at notebook start when using .env.
- path: "notebooks/week4/**/*"
instructions: |
Week 4 multi-turn agent: LangGraph + Postgres checkpointer. Require psycopg[binary] for PostgresSaver (no .save() method—use compile(checkpointer=...) then invoke with config.thread_id).
State/config: thread_id in config.configurable; initial_state with messages and available_tools. DB setup once (check checkpoint table exists before setup()). postgres_data/ is gitignored.
- path: "scripts/**/*.py"
instructions: |
Test/utility scripts (health_check, smoke_test). Run via make (e.g. make health, make smoke-test).
Exit code 0 success / 1 failure for CI. Use localhost for API/Qdrant when scripts run on host (not in Docker).
# tools (ruff, yamllint, gitleaks, hadolint) require CodeRabbit Pro; omitted on free tier.
# See https://docs.coderabbit.ai/tools — if you upgrade, add under reviews: e.g. reviews.tools.ruff.enabled: true
pre_merge_checks:
title:
mode: warning
requirements: "Use conventional commits: feat(sprint3):, fix(sprint3):, docs(sprint3):, etc. (or sprint/N for current sprint)."
chat:
art: false
auto_reply: true
issue_enrichment:
auto_enrich:
enabled: true