Arthur Jacquemart
06/08/2022, 11:26 AMAnna Geller
06/08/2022, 11:45 AMArthur Jacquemart
06/08/2022, 11:50 AM{
task_run(
where: {state: {_in: ["Running", "Pending"]}, flow_run: {labels: {_eq: ["scaled"]}}}
) {
state
flow_run {
flow {
name
}
labels
}
}
}
Here is an excerpt of the answer:
{
"data": {
"task_run": [
{
"flow_run": {
"name": "affable-butterfly",
"flow": {
"name": "whatever"
},
"labels": [
"scaled"
]
}
},
{
"flow_run": {
"name": "affable-butterfly",
"flow": {
"name": "whatever"
},
"labels": [
"scaled"
]
}
},
{
"flow_run": {
"name": "affable-butterfly",
"flow": {
"name": "whatever"
},
"labels": [
"scaled"
]
}
},
Which looks good at first sight. But this flow is not pending:
⢠I cannot see it in the UI
⢠It has no schedule attached to it
I also dont understand why it returns duplicates
I have the same behaviour with a flow showing as "running" in the GraphQL answer but which does not exist.
Would you know what is causing this?
Thanks !Anna Geller
06/08/2022, 11:51 AMArthur Jacquemart
06/08/2022, 12:04 PMAnna Geller
06/08/2022, 12:11 PMArthur Jacquemart
06/08/2022, 12:25 PMAnna Geller
06/08/2022, 12:27 PMArthur Jacquemart
06/08/2022, 12:29 PMAnna Geller
06/08/2022, 12:35 PMArthur Jacquemart
06/08/2022, 12:39 PMAnna Geller
06/08/2022, 12:41 PMArthur Jacquemart
06/08/2022, 12:47 PMAnna Geller
06/08/2022, 1:02 PMArthur Jacquemart
06/08/2022, 1:05 PMAnna Geller
06/08/2022, 1:07 PM