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 race conditions in action client #1164

Open
wants to merge 4 commits into
base: rolling
Choose a base branch
from

Conversation

augustelalande
Copy link
Contributor

@augustelalande augustelalande commented Sep 17, 2023

This addresses the race conditions described in #878, by implementing essentially the same solution as #871.

Additionally, I also implement #838 which was implemented in the regular client but not the action client.

The one thing it does not address is that

for future in waitable._futures:
future._set_executor(self)

can potentially execute without the future having been added to the list, in which case the future's callbacks will execute immediately instead of being delegated to the task queue.

@augustelalande augustelalande changed the title Address race conditions in action client Fix race conditions in action client Sep 17, 2023
@augustelalande
Copy link
Contributor Author

@sloretz @adityapande-1995 any help?

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