-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
indexer: remove logs from default sink #125
indexer: remove logs from default sink #125
Conversation
📝 WalkthroughWalkthroughThis pull request introduces a new JSON configuration for the Changes
Possibly related PRs
Suggested reviewers
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 (
|
42d7fbf
to
a8f034b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
packages/indexer/src/sink.ts (1)
35-35
: Consider adding method documentationWhile the empty implementation is correct, it would be helpful to add JSDoc comments explaining that this is an intentionally empty implementation for a minimal default sink.
+ /** Empty implementation for the default sink. Override this method to add custom finalization logic. */ async finalize(cursor?: Cursor) {}
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
change/@apibara-indexer-cd0b7206-2b02-4573-9b98-d6fb848cf4e4.json
(1 hunks)packages/indexer/src/sink.ts
(1 hunks)
✅ Files skipped from review due to trivial changes (1)
- change/@apibara-indexer-cd0b7206-2b02-4573-9b98-d6fb848cf4e4.json
🔇 Additional comments (3)
packages/indexer/src/sink.ts (3)
31-31
: LGTM: Empty implementation aligns with PR objectives
The removal of logging from this method is consistent with the goal of providing a minimal default sink implementation.
33-33
: LGTM: Empty implementation aligns with PR objectives
The removal of logging from this method is consistent with the goal of providing a minimal default sink implementation.
31-35
: Verify documentation updates
With the removal of logging from the default sink, we should ensure that the documentation is updated to reflect this change and guide users who might need logging functionality.
No description provided.