- Initialize Go module with dependencies - Create core mining package with Manager, Miner, and MinerConfig - Implement comprehensive tests with 100% coverage - Create CLI using Cobra with start, stop, list, status commands - Add demo main.go for development and testing - Configure CodeRabbit for automated reviews - Configure GoReleaser for multi-platform releases - Add EUPL-1.2 license - Create Makefile with common targets - Update README with badges and documentation - Add .gitignore for Go projects Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
# CodeRabbit Configuration
|
|
# https://docs.coderabbit.ai/guides/configure-coderabbit
|
|
|
|
language: en-US
|
|
|
|
reviews:
|
|
auto_review:
|
|
enabled: true
|
|
drafts: false
|
|
base_branches:
|
|
- main
|
|
- master
|
|
- develop
|
|
|
|
request_changes_workflow: false
|
|
high_level_summary: true
|
|
poem: false
|
|
review_status: true
|
|
collapse_walkthrough: false
|
|
|
|
path_filters:
|
|
- "!**/*.md"
|
|
- "!**/*.txt"
|
|
- "!**/testdata/**"
|
|
|
|
path_instructions:
|
|
- path: "**/*.go"
|
|
instructions: |
|
|
- Follow Go best practices and idiomatic patterns
|
|
- Ensure proper error handling
|
|
- Check for goroutine leaks and race conditions
|
|
- Verify nil pointer checks
|
|
- Ensure proper resource cleanup (defer statements)
|
|
|
|
- path: "**/*_test.go"
|
|
instructions: |
|
|
- Verify test coverage is adequate
|
|
- Check for table-driven tests where appropriate
|
|
- Ensure proper test cleanup
|
|
- Validate edge cases are tested
|
|
|
|
chat:
|
|
auto_reply: true
|
|
|
|
knowledge_base:
|
|
learnings:
|
|
scope: auto
|
|
|
|
early_access: false
|
|
enable_free_tier: true
|