Record the completeness-check gate - #18
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe delivery guidance adds a completeness-check gate. It describes two false-negative failure modes and requires checks to derive their subject from the running system and distinguish each row correctly. ChangesCompleteness Check Gate
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This update documents stronger completeness-check practices without changing runtime behavior. No merge-readiness risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
A gate that earned its place five times in one day, on the barakoCMS capability migration.
The shape: a test that answers "did we miss one" but cannot say no. Two ways that happens, and both look exactly like a working test.
A list somebody maintains answers "no" by construction, because the list and the thing it describes are updated by the same hand at the same moment or not at all. And a key coarser than the rows collapses them: a check on path, over rows keyed on verb and path, passes when a verb goes missing from a path that still has another.
The five, all on the same migration:
Three of those five were written to replace an earlier list of exactly the same kind, which is why this is worth a section rather than a note in a PR.
The remedy has three parts and the third is the one people skip: derive the set from the running system, key on everything that tells two entries apart, and assert a floor. A reflection query that matches nothing passes silently, exactly like a correct one.
Summary by CodeRabbit