-
Notifications
You must be signed in to change notification settings - Fork 674
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] Timed out task in subworkflow does not fail workflow #4087
Comments
Debugging this further it seems not quite deterministic. Adding a It does seem like the subworkflow is not terminating in case of the |
So the following example fails consistently, note though that I don't think it's the retry per-se which causes the failure: import time
from datetime import timedelta
from flytekit import task, workflow
@task(
timeout=timedelta(seconds=10),
retries=1,
)
def demo_task():
time.sleep(30)
@workflow
def subworkflow():
demo_task()
@workflow
def demo_workflow():
subworkflow() |
For some context in debugging:
|
@bstadlbauer this issue should be closed by #4766. Please feel free to re-open and tag me if you notice any further issues. |
Ok great! |
Describe the bug
In the following example, a task in a subworkflow fails due to a timeout. When that task fails, it goes into an
Unkonwn
state in the dashboard, whilst the toplevel workflow is still runnning instead of failing as expected.I've tested this in a dev sendbox with version
v1.9.1
.Expected behavior
The workflow should fail as the task timed out.
Additional context to reproduce
Here's the output of
flytectl
for that execution:Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: