Samuel Hinton
12/20/2021, 1:14 PMtimeout
which we can pass in, but Im currently experience some odd issues where tasks seem to be lost in dask somewhere (they are submitted to dask but never come back, never time out), and this means my flows never end. Ideally Ill try to dig into our env and dask and prefect and figure out what is causing silent untracked failure, but as an interim solution, does anyone know of a way I can say “Cancel the flows and all tasks if its been an hour since you started?”Samuel Hinton
12/20/2021, 1:17 PMAnna Geller
Samuel Hinton
12/20/2021, 1:21 PMAnna Geller
Samuel Hinton
12/20/2021, 1:25 PMSamuel Hinton
12/20/2021, 1:26 PMAnna Geller
mutation {
create_action(input: {config: {create_flow_run: {flow_group_id: "b097b505-f4b3-401d-9e69-87eccbcc0794"}}}) {
id
}
}
Anna Geller
mutation {
create_action(
input: {config: {cancel_flow_run: {message: "Flow run cancelled because it ran longer than the duration specified in the SLA"}}}
) {
id
}
}
Samuel Hinton
12/20/2021, 1:34 PM