Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. WalkthroughThis pull request implements automatic level attribute assignment for spans. When a span is finished, the level attribute is automatically set to 'error' if an error was captured, or 'info' otherwise, unless explicitly overridden beforehand. The Sentry exporter is updated to use this dynamic level value instead of hardcoding 'error', and the level attribute is excluded from being processed as additional tags or context. Documentation and comprehensive unit tests are added to explain the behavior. Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (2 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 |
843c232 to
4ce5193
Compare
Set level=error when setError() is called, level=info otherwise.
Explicit level via set('level', ...) is never overridden.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4ce5193 to
6f20b78
Compare
Summary
level=errorwhensetError()is called,level=infootherwiseset('level', ...)is never overridden, giving full control when needed'error'Test plan
testFinishSetsLevelInfoByDefault— default isinfotestFinishSetsLevelErrorWhenErrorSet— error triggerserrortestFinishDoesNotOverrideExplicitLevel— explicit level preservedtestLevelNotSetBeforeFinish— not prematurely set🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes
New Features
Documentation