forked from langflow-ai/openrag
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
193 lines (193 loc) · 5.48 KB
/
Copy path.coderabbit.yaml
File metadata and controls
193 lines (193 loc) · 5.48 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
language: en-US
tone_instructions: ""
early_access: true
enable_free_tier: true
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
high_level_summary_placeholder: "@coderabbitai summary"
high_level_summary_in_walkthrough: false
auto_title_placeholder: "@coderabbitai"
auto_title_instructions: Use conventional commits structure
review_status: true
commit_status: true
fail_commit_status: false
collapse_walkthrough: false
changed_files_summary: true
sequence_diagrams: true
assess_linked_issues: true
related_issues: true
related_prs: true
suggested_labels: true
auto_apply_labels: false
suggested_reviewers: true
auto_assign_reviewers: false
poem: false
labeling_instructions:
- label: "enhancement"
instructions: "Apply when the PR adds new features or capabilities."
- label: "bug"
instructions: "Apply when the PR fixes a defect or regression."
- label: "documentation"
instructions: "Apply when the PR only changes docs, README, AGENTS.md, or CLAUDE.md."
- label: "refactor"
instructions: "Apply when the PR restructures existing code without changing behaviour."
- label: "tests"
instructions: "Apply when the PR only adds or updates tests."
path_filters: []
path_instructions:
- path: "src/**/*.py"
instructions: "Use get_logger from utils.logging_config — never import stdlib logging directly. Config values must come from config/settings.py (the only place os.environ is read); never access os.environ elsewhere in the codebase."
- path: "src/api/**/*.py"
instructions: "FastAPI routes. Public/stable endpoints belong under src/api/v1/. Verify dependency injection via src/dependencies.py, response model typing, and correct HTTP status codes. No business logic in route handlers."
- path: "src/connectors/**/*.py"
instructions: "External data connectors (Google Drive, OneDrive, S3, IBM COS). New connectors must subclass connectors/base.py and register through connectors/service.py. Verify credentials are never logged, errors surface cleanly, and pagination is handled correctly."
- path: "src/services/**/*.py"
instructions: "Business logic layer. New services must be instantiated in the lifespan block in main.py and injected into routers via src/dependencies.py — never instantiated directly in route handlers."
- path: "frontend/**"
instructions: "Next.js App Router with React 19. Lint and format via Biome — not ESLint. State management via Zustand (stores/) and React Query for server state. UI built on Radix primitives + Tailwind."
- path: "kubernetes/operator/**/*.go"
instructions: "Kubernetes controller using controller-runtime. Check for proper reconciliation loop patterns, status condition updates, and RBAC annotations on new resources."
abort_on_close: true
disable_cache: false
auto_review:
enabled: true
auto_incremental_review: true
ignore_title_keywords: []
labels: []
drafts: false
finishing_touches:
docstrings:
enabled: true
unit_tests:
enabled: true
tools:
ast-grep:
rule_dirs: []
util_dirs: []
essential_rules: true
packages: []
shellcheck:
enabled: true
ruff:
enabled: true
markdownlint:
enabled: true
github-checks:
enabled: true
timeout_ms: 90000
languagetool:
enabled: true
enabled_rules: []
disabled_rules: []
enabled_categories: []
disabled_categories: []
enabled_only: false
level: default
biome:
enabled: true
hadolint:
enabled: true
swiftlint:
enabled: false
phpstan:
enabled: false
golangci-lint:
enabled: true
yamllint:
enabled: true
gitleaks:
enabled: true
checkov:
enabled: true
detekt:
enabled: false
eslint:
enabled: false
rubocop:
enabled: false
buf:
enabled: false
regal:
enabled: false
actionlint:
enabled: true
pmd:
enabled: false
cppcheck:
enabled: false
semgrep:
enabled: true
circleci:
enabled: false
clippy:
enabled: false
sqlfluff:
enabled: false
prismaLint:
enabled: false
pylint:
enabled: true
oxc:
enabled: true
shopifyThemeCheck:
enabled: false
luacheck:
enabled: false
brakeman:
enabled: false
dotenvLint:
enabled: true
htmlhint:
enabled: true
checkmake:
enabled: true
chat:
auto_reply: true
integrations:
jira:
usage: auto
linear:
usage: auto
issue_enrichment:
auto_enrich:
enabled: true
planning:
enabled: true
auto_planning:
enabled: true
labels:
- "enhancement"
- "bug"
- "refactor"
- "!documentation"
- "!tests"
knowledge_base:
opt_out: false
code_guidelines:
enabled: true
web_search:
enabled: true
learnings:
scope: auto
issues:
scope: auto
jira:
usage: auto
project_keys: []
linear:
usage: auto
team_keys: []
pull_requests:
scope: auto
code_generation:
docstrings:
language: en-US
path_instructions: []
unit_tests:
path_instructions:
- path: "tests/**/*.py"
instructions: Use pytest with pytest-asyncio for async tests. Fixtures are defined in tests/conftest.py and tests/unit/conftest.py.
- path: "frontend/tests/**/*.ts"
instructions: Use Playwright. Test files use the .spec.ts extension.