refactor: [kvbm][cleanup] Remove unused same-layout disjoint validation#9643
refactor: [kvbm][cleanup] Remove unused same-layout disjoint validation#9643oandreeva-nv wants to merge 1 commit into
Conversation
The are_same_layout helper triggered a dead_code warning in release builds because its only caller, validate_disjoint_same_layout, was gated behind #[cfg(debug_assertions)]. Removing the unused validation path along with its error variant and tests rather than silencing with a cfg gate."
WalkthroughRemoved the ChangesOverlapping blocks validation removal
🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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 |
|
lib/llm/src/block_manager/v2/physical/transfer/validation.rs — Removing the public |
The are_same_layout helper triggered a dead_code warning in release builds because its only caller, validate_disjoint_same_layout, was gated behind #[cfg(debug_assertions)]. Removing the unused validation path along with its error variant and tests rather than silencing with a cfg gate.
Overview:
Details:
Where should the reviewer start?
Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)