Additional Database Paths in Config#26
Conversation
|
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 11 minutes and 25 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. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ 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 |
9ae1de5 to
4159fd7
Compare
Summary
[databases]section to local config (.codemark/config.toml) for configuring additional database paths~expansion and relative paths (resolved from repo root)--dbflag overrides config (only CLI paths are used when explicitly provided)Configuration Example
Key Design Decisions
Local config only: The
additional_databasessetting is only supported in.codemark/config.toml, not in global config. Each repo defines its own related databases.Primary DB remains auto-detected: The current repo's database is always included (from git root or current directory)
Additional DBs are read-only: The additional databases are only used for read operations. Write operations (add, remove, annotate) only affect the primary DB.
Path expansion: Supports
~expansion and relative paths (resolved relative to the repo root containing.codemark/config.toml)Files Changed
src/config.rs: AddDatabasesConfigstruct with path resolutionsrc/cli/handlers.rs: Modifyopen_all_dbs()to include configured additional databasesdocs/config.default.toml: Add[databases]section documentationtests/cli_integration.rs: Add 6 integration tests for multi-db behaviorTest Coverage
🤖 Generated with Claude Code