fix(ci): scope API client drift check to generated paths only#310
Conversation
The diff check was comparing the entire packages/api-client/ directory, which would false-positive on changes to instance.ts, tests, or package.json. Narrow to openapi.json, src/generated/, and src/models/. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Entire-Checkpoint: b38a549badbc
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughUpdated CI workflow step to broaden the scope of generated file verification, explicitly including Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #310 +/- ##
==========================================
- Coverage 50.36% 50.28% -0.08%
==========================================
Files 114 115 +1
Lines 9162 9854 +692
Branches 716 716
==========================================
+ Hits 4614 4955 +341
- Misses 4371 4722 +351
Partials 177 177
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Summary
packages/api-client/directory, which would false-positive on hand-written changes toinstance.ts, tests, orpackage.jsonopenapi.json,src/generated/, andsrc/models/— the actual generated outputsTest plan
🤖 Generated with Claude Code
Summary by CodeRabbit