fix(cerebro): reject blank memory update fields#610
Conversation
Block whitespace-only scope/topic updates and add a regression test for mem_update.
|
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 41 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: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ 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 |
✅ Contributor ReportUser: @yacosta738
Contributor Report evaluates based on public GitHub activity. Analysis period: 2025-04-20 to 2026-04-20 |
Related Issues
Summary
This PR closes a small validation gap in Cerebro memory updates.
require_optional_non_emptyfor optional string fields that still must not be blank when providedtopic_keyandscopevalues inmem_updatetopic_keyupdate request through the MCP tools contractTested Information
cargo test --manifest-path modules/cerebro/Cargo.toml mem_update_rejects_blank_topic_keycargo test --manifest-path modules/cerebro/Cargo.toml --test mcp_tools_contractDocumentation Impact
Breaking Changes
Checklist