chore: change error to debug when no batch to process#1893
chore: change error to debug when no batch to process#1893gupadhyaya merged 1 commit intoevstack:mainfrom
Conversation
WalkthroughThe pull request introduces modifications to the Changes
Assessment against linked issues
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1893 +/- ##
==========================================
+ Coverage 42.45% 42.46% +0.01%
==========================================
Files 79 79
Lines 12692 12693 +1
==========================================
+ Hits 5388 5390 +2
+ Misses 6575 6574 -1
Partials 729 729 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
block/manager.go (1)
1078-1079: LGTM! Changed error to debug log when no transactions are available.The change from error to debug level is appropriate as having no transactions to process is a normal condition, not an error state. This aligns well with the PR objectives and improves log clarity.
Consider adding test coverage for different transaction availability scenarios to ensure logging behavior is consistent.
🧰 Tools
🪛 GitHub Check: codecov/patch
[warning] 1078-1079: block/manager.go#L1078-L1079
Added lines #L1078 - L1079 were not covered by tests
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
block/manager.go(1 hunks)
🧰 Additional context used
🪛 GitHub Check: codecov/patch
block/manager.go
[warning] 1078-1079: block/manager.go#L1078-L1079
Added lines #L1078 - L1079 were not covered by tests
[warning] 1085-1085: block/manager.go#L1085
Added line #L1085 was not covered by tests
🔇 Additional comments (1)
block/manager.go (1)
1085-1085: LGTM! Added informative log for block creation.
The new info log provides good visibility into the block creation process.
🧰 Tools
🪛 GitHub Check: codecov/patch
[warning] 1085-1085: block/manager.go#L1085
Added line #L1085 was not covered by tests
Fixes #1892 1892
Summary by CodeRabbit