Skip to content
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

fix: tokio task panic propagation #86

Merged
merged 2 commits into from
Jul 31, 2024
Merged

fix: tokio task panic propagation #86

merged 2 commits into from
Jul 31, 2024

Conversation

qjerome
Copy link
Member

@qjerome qjerome commented Jul 31, 2024

When nested tokio tasks panic they don't panic kunai. This is an expected behavior by tokio yet we need to address this issue not to hang the application in case of bug. To do that we need to bubble up task errors and eventually panic in main tokio task.

@qjerome qjerome merged commit 202d3df into main Jul 31, 2024
1 check passed
@qjerome qjerome deleted the task-panic branch July 31, 2024 12:17
@qjerome qjerome changed the title issue when tokio task panic fix: tokio task panic propagation Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant