Repository navigation
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
101 lines (89 loc) · 2.43 KB
/
Copy path.coderabbit.yaml
File metadata and controls
101 lines (89 loc) · 2.43 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
# yaml-language-server: $schema=https://storage.googleapis.com/coderabbit_public_assets/schema.v2.json
language: en-US
early_access: false
enable_free_tier: true
reviews:
profile: chill
request_changes_workflow: true
high_level_summary: true
changed_files_summary: true
estimate_code_review_effort: true
sequence_diagrams: true
fail_commit_status: false
# Exclude non-source files
path_filters:
- "!deployment/**"
- "!**/*.md"
- "!**/logs/**"
- "!**/temp/**"
# Review focus instructions per folder
path_instructions:
# STREAM PIPELINE
- path: "stream-jobs/**"
instructions: >
This contains critical streaming pipeline logic (Scala, Kafka, Flink).
Check:
- Kafka consumer safety (deserialization errors, dead-letter handling)
- At-least-once vs exactly-once guarantees
- State management & checkpointing
- Backpressure & failure retries
- JSON parsing into case classes
- Fault tolerance & logging of failed events
- Ensure no hard-coded tenant/state logic
# METABASE DATA PROCESSING
- path: "metabase-jobs/**"
instructions: >
This folder has ETL jobs and Metabase artifacts. Verify:
- Correct DB connections & cursor handling
- Idempotency of ETL runs
- SQL query performance and index usage
- No credential exposure
- Metabase cards/filters mapping consistency
- Avoid deleting historical logs without backups
# Check SQL file quality anywhere
- path: "**/*.sql"
instructions: >
Validate SQL syntax, performance, indexes, and joins.
Ensure WHERE clauses use indexed fields and avoid SELECT * in production pipelines.
auto_review:
enabled: true
base_branches: [".*"]
pre_merge_checks:
docstrings:
mode: warning
threshold: 70
description:
mode: warning
issue_assessment:
mode: warning
finishing_touches:
docstrings:
enabled: true
unit_tests:
enabled: true
tools:
semgrep:
enabled: true
gitleaks:
enabled: true
checkov:
enabled: true
sqlfluff:
enabled: true
shellcheck:
enabled: true
yamllint:
enabled: true
flake8:
enabled: true
pylint:
enabled: true
biome:
enabled: false
ast-grep:
essential_rules: true
chat:
auto_reply: true
knowledge_base:
web_search:
enabled: true