-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor/goetl #19
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
Refactor/goetl #19
Conversation
Warning Rate limit exceeded@bot-anik has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 29 minutes and 41 seconds before requesting another review. ⌛ 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. ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (10)
WalkthroughThe pull request introduces a comprehensive refactoring of the delegators extraction process in the application. The changes involve creating a new pipeline-based mechanism for extracting delegator and chain information, replacing the previous direct extraction method. This includes introducing new packages and types for handling data processing, implementing robust error handling, and improving logging capabilities. The modifications span multiple files across the project, focusing on modularizing the extraction process and enhancing overall code structure. Changes
Sequence DiagramsequenceDiagram
participant CLI as CLI Command
participant Pipeline as Delegators Pipeline
participant Reader as Data Reader
participant Writer as CSV Writer
CLI Command->>Pipeline: Initialize Pipeline
Pipeline->>Reader: Create Delegators Reader
Pipeline->>Reader: Create Chain Reader
Pipeline->>Writer: Create CSV Writers
Reader->>Reader: Process Delegator Data
Reader->>Writer: Write Delegator CSV
Reader->>Reader: Process Chain Metadata
Reader->>Writer: Write Chain CSV
Pipeline->>Pipeline: Run Pipelines Concurrently
alt Success
Pipeline-->>CLI Command: Return Nil Error
else Error
Pipeline-->>CLI Command: Return Processing Error
end
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 (
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Adopt the teambenny/goetl framework to standardise the extraction process using a pipeline-based approach. This should ensures a more consistent and modular way of handling data extraction tasks in this tool.
Also add the (persistent) flag
log_level
for better control over logging verbosity.