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

bugfix: race-condition on python-level task.state #156

Merged
merged 1 commit into from
Feb 16, 2024
Merged

bugfix: race-condition on python-level task.state #156

merged 1 commit into from
Feb 16, 2024

Conversation

wlruys
Copy link
Contributor

@wlruys wlruys commented Feb 16, 2024

States for TaskRunning, TaskRunahead, and TaskCompleted are set separately from runtime flags that actually enforce these conditions, as such they should not be used for control flow in cases where a continuation or return value may access them between state transitions.

This fixes:

@wlruys wlruys merged commit aa57afb into main Feb 16, 2024
4 of 5 checks passed
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.

None yet

1 participant