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

bug: Async exception handlers for activities are registered for containers #1830

Open
jshook opened this issue Feb 15, 2024 · 0 comments
Open

Comments

@jshook
Copy link
Contributor

jshook commented Feb 15, 2024

The activity exception handlers which are installed on behalf of thread pools should be associated with the activities first, and then any exceptions which are uncaught should be bubbled to the container.

Some error patterns seem to show an error for one activity being attributed to one after due to asynchrony between container commands without some barrier or explicit routing of errors through the correct error handler.

This part of the container and activity executor code needs to be audited and corrected to force commands to be fully processed serially within the container, including all error conditions.

Ideally, a future version of this would be based on structured concurrency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant