Repository navigation
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
45 lines (44 loc) · 1.77 KB
/
Copy path.coderabbit.yaml
File metadata and controls
45 lines (44 loc) · 1.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
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.yaml
language: en-US
tone_instructions: >
Be concise and direct. Focus on correctness, SDK compatibility, and PatternFly
best practices. This is an OpenShift console dynamic plugin — flag any direct
K8s API calls, missing i18n (must use useNetworkingTranslation hook or Trans
component), or incorrect extension registration.
reviews:
profile: chill
poem: false
high_level_summary: true
review_status: true
collapse_walkthrough: true
auto_review:
enabled: true
drafts: false
path_instructions:
- path: 'src/views/*/manifest.ts'
instructions: |
These are console extension declarations. Verify that:
- Extension types match the intended console integration point
- $codeRef paths match actual file exports
- Feature flags are applied where needed (NET_ATTACH_DEF, KUBEVIRT_DYNAMIC, FLAG_UDN_ENABLED)
- path: 'src/utils/models/**'
instructions: |
K8s model definitions. Verify apiGroup, apiVersion, kind, and plural match the actual CRD.
- path: 'src/views/*/form/**'
instructions: |
Form components use react-hook-form. Check for proper validation, error handling, and i18n usage.
- path: 'locales/**'
instructions: |
Translation files. These are auto-generated by `npm run i18n` and should not be manually edited
except for non-English locales which are managed by the translation team.
- path: 'src/utils/telemetry/**'
instructions: |
Telemetry events. Verify event names and properties follow existing conventions in constants.ts.
path_filters:
- '!dist/**'
- '!node_modules/**'
- '!package-lock.json'
- '!locales/en/**'
- '!**/*.snap'
chat:
auto_reply: true