Reject null name on POST /packs (#43032) - #45259
juan-fdz-hawa merged 1 commit into
Conversation
Fixes #43032 Added a nil-check in NewPack so a missing/null name returns the same BadRequestError as an empty-string name.
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
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 (4)
WalkthroughThis PR fixes a validation bug where 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 #45259 +/- ##
==========================================
+ Coverage 66.81% 66.86% +0.05%
==========================================
Files 2724 2724
Lines 219027 219087 +60
Branches 10754 10754
==========================================
+ Hits 146342 146501 +159
+ Misses 59519 59421 -98
+ Partials 13166 13165 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Failures unrelated to changes |
Related issue: Fixes #43032
Added a nil-check in NewPack so a missing/null name returns the same BadRequestError as an empty-string name.
Checklist for submitter
If some of the following don't apply, delete the relevant line.
changes/,orbit/changes/oree/fleetd-chrome/changes.See Changes files for more information.
Testing
Summary by CodeRabbit