fix: prevent crash when distribution summary empty#105
Conversation
Time Submission Status
You can submit time with the command. Example: See available commands to help comply with our Guidelines. |
Bug Report Checklist
If this commit or author is incorrect, reply in this PR with:
Use git blame to identify the right commit and author before posting. See available commands to help comply with our Guidelines. |
📝 WalkthroughWalkthroughThe pull request addresses a crash in get_distribution_summary by adding nil-safety checks in the Go bindings layer and updating the Python SDK public API to return Optional[DistributionSummary], returning None when no distribution result is found instead of raising an error. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 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. ✨ 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 |
resolves: #102
Summary by CodeRabbit
Release Notes