docs: add troubleshooting section to CONTRIBUTING#2
Conversation
- Added FAQ for common issues: large files, format detection, gzip support
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 57 minutes and 21 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideAdds a troubleshooting/FAQ section to CONTRIBUTING.md documenting how to handle common issues with large files, log format detection, and gzip-compressed inputs when using the CLI. Flow diagram for troubleshooting common CLI issuesflowchart TD
A[Start_troubleshooting] --> B{Issue_type}
B -->|Large_files_memory_issues| C[Use_stream_flag_for_files_over_100MB]
B -->|Log_format_not_detected| D[Specify_format_with_flag_json_syslog_apache_generic]
B -->|Gzip_file_not_reading| E[Ensure_gz_extension_present_for_auto_detection]
C --> F[Re_run_CLI_and_check_memory_usage]
D --> G[Re_run_CLI_and_check_format_parsing]
E --> H[Re_run_CLI_and_check_input_reading]
F --> I[End_troubleshooting]
G --> I
H --> I
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
| ### Common Issues | ||
|
|
||
| **Q: Large files cause memory issues?** | ||
| A: Use streaming mode with `--stream` flag for files over 100MB. |
There was a problem hiding this comment.
[🟡 Medium] [🔵 Bug]
The troubleshooting answer recommends --stream flag for large files, but this flag does not exist in the CLI. The cli.py analyze command defines --format, --output, --verbose, --no-group, --levels, --pattern, --start-time, and --end-time — no --stream. The tool already uses a streaming generator internally via read_log_file, so there is no user-facing flag to enable it. Users following this advice will get an unrecognized option error.
# CONTRIBUTING.md
A: Use streaming mode with `--stream` flag for files over 100MB.Update the answer to reflect the actual behavior — e.g., explain that large file streaming is handled automatically by the tool, or remove the reference to a flag.
Adds FAQ for common issues: large files, format detection, gzip support.
Summary by Sourcery
Documentation: