-
Notifications
You must be signed in to change notification settings - Fork 195
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
opt(katana): graceful shutdown on critical tasks termination #2409
Conversation
WalkthroughOhayo, sensei! The pull request introduces significant changes to the shutdown logic of the Katana node, enhancing its responsiveness by allowing multiple shutdown triggers. It modifies the Changes
Tip Announcements
Recent review detailsConfiguration used: .coderabbit.yaml Files ignored due to path filters (1)
Files selected for processing (5)
Additional comments not posted (11)
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
Documentation and Community
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2409 +/- ##
=======================================
Coverage 68.14% 68.14%
=======================================
Files 364 364
Lines 47745 47760 +15
=======================================
+ Hits 32535 32548 +13
- Misses 15210 15212 +2 ☔ View full report in Codecov by Sentry. |
integrate the
TaskManager
introduced in #2318 to Katana, improving error handling when a critical task (eg block production) gets terminated. (regardless of success or error)Summary by CodeRabbit
New Features
TaskManager
for better management of asynchronous tasks.stop
method for graceful node shutdown.Improvements
TaskManager
, emphasizing clarity and structured handling of shutdown events.TaskBuilder
, enhancing code readability and maintainability.Chores
Cargo.toml
to reflect changes in project structure.