FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
javascript/.coderabbit.yaml at master · pubnub/javascript · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
pubnub
/
javascript
Public
Notifications
You must be signed in to change notification settings
Fork
400
Star
561
Code
Issues
6
Pull requests
3
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
javascript
/
.coderabbit.yaml
Copy path
More file actions
More file actions
Latest commit
History
History
History
106 lines (96 loc) · 3.72 KB
Breadcrumbs
javascript
/
.coderabbit.yaml
Copy path
File metadata and controls
106 lines (96 loc) · 3.72 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#
yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language
:
en-US
reviews
:
#
Enable high-level summary of changes
high_level_summary
:
false
#
Add a poem... just kidding, disable it
poem
:
false
#
Collapse walkthrough to keep PR comments clean
collapse_walkthrough
:
true
#
Auto-review on every push
auto_review
:
enabled
:
true
drafts
:
true
#
Sparse-checkout / review scope: include .github explicitly; exclude generated and vendor paths
path_filters
:
-
"
.github/**
"
-
"
!dist/**
"
-
"
!lib/**
"
-
"
!upload/**
"
-
"
!node_modules/**
"
-
"
!package-lock.json
"
-
"
!.pubnub.yml
"
-
"
!.vscode/**
"
#
Path-based review instructions
path_instructions
:
-
path
:
"
src/core/**
"
instructions
:
|
This is the core SDK module. Pay close attention to:
- Backward compatibility of public API changes
- Proper TypeScript typing (strict mode is enabled)
- No platform-specific code (Node.js, Web, React Native specifics belong in their respective platform directories)
- Thread safety considerations for shared state
-
path
:
"
src/core/endpoints/**
"
instructions
:
|
These are REST API endpoint implementations. Review for:
- Correct request/response type definitions
- Proper error handling and status code mapping
- Consistent parameter validation
- Adherence to PubNub REST API contracts
-
path
:
"
src/core/types/**
"
instructions
:
|
TypeScript type definitions. Ensure:
- Types are precise and not overly permissive (avoid `any`)
- Exported types maintain backward compatibility
- Proper use of generics and utility types
-
path
:
"
src/event-engine/**
"
instructions
:
|
State-machine-based subscription management. Review for:
- Correct state transitions and edge cases
- No leaked subscriptions or event listeners
- Proper cleanup on state exit
-
path
:
"
src/entities/**
"
instructions
:
|
High-level subscription API (Channel, ChannelGroup, etc.). Review for:
- Proper event handler lifecycle management
- Memory leak prevention (listener cleanup)
-
path
:
"
src/transport/**
"
instructions
:
|
Platform-specific HTTP transport implementations. Review for:
- Proper timeout and cancellation handling
- Correct header management
- Error propagation consistency across platforms
-
path
:
"
src/node/**
"
instructions
:
"
Node.js platform implementation. Ensure no browser/DOM APIs are used.
"
-
path
:
"
src/web/**
"
instructions
:
"
Browser platform implementation. Ensure no Node.js-specific APIs (fs, crypto, etc.) are used.
"
-
path
:
"
src/react_native/**
"
instructions
:
"
React Native platform implementation. Verify compatibility with RN runtime.
"
-
path
:
"
test/**
"
instructions
:
|
Test files. Review for:
- Adequate coverage of edge cases
- Proper use of mocks/stubs (Sinon + Nock)
- No flaky patterns (hardcoded timeouts, race conditions)
- Tests that actually assert meaningful behavior
-
path
:
"
.github/**
"
instructions
:
|
GitHub Actions workflows and repo automation. Review for:
- Valid workflow YAML (triggers, concurrency, job dependencies)
- Safe use of secrets and minimal required permissions
- Reasonable timeouts and matrix coverage; actionlint/YAMLlint findings should be addressed
#
Tools configuration
tools
:
#
Enable GitHub checks integration
github-checks
:
enabled
:
true
timeout_ms
:
120000
yamllint
:
enabled
:
true
actionlint
:
enabled
:
true
chat
:
auto_reply
:
true
knowledge_base
:
mcp
:
usage
:
enabled
Back
|
FazBrowse Home
|
New Git URL