Right, we should have expected retry
Right, we should have expected retry functionality there correct? It appears that it was in that stuck in that
Running
state. When I queried for the events for this instanceId via the GraphQL analytics API - there was only 1 ATTEMPT_START for that ID, I do not see that any retries were executed.
Even after I terminated the instance, while the workflow run changed the status to Terminated
, the step status still says Running
. See screenshot. Perhaps I've misconfigured something?
Thank you for your help!
4 Replies
@Matt Silverlock For context here are the events from that run:
[
{
"datetime": "2025-03-16T06:37:31Z",
"eventType": "ATTEMPT_START",
"instanceId": "cb2f6bf4-b248-4d1f-9504-cec844eb75f3",
"stepCount": 1,
"stepName": "get client database connection",
"wallTime": 0,
"workflowName": "poll-database-workflow",
"wallTimeTillNextStep": 0
},
{
"datetime": "2025-03-16T06:37:31Z",
"eventType": "STEP_START",
"instanceId": "cb2f6bf4-b248-4d1f-9504-cec844eb75f3",
"stepCount": 1,
"stepName": "get client database connection",
"wallTime": 0,
"workflowName": "poll-database-workflow",
"wallTimeTillNextStep": 0
},
{
"datetime": "2025-03-16T06:37:31Z",
"eventType": "WORKFLOW_START",
"instanceId": "cb2f6bf4-b248-4d1f-9504-cec844eb75f3",
"stepCount": 0,
"stepName": "",
"wallTime": 0,
"workflowName": "poll-database-workflow",
"wallTimeTillNextStep": 1
},
{
"datetime": "2025-03-16T06:37:32Z",
"eventType": "STEP_SUCCESS",
"instanceId": "cb2f6bf4-b248-4d1f-9504-cec844eb75f3",
"stepCount": 1,
"stepName": "get client database connection",
"wallTime": 0,
"workflowName": "poll-database-workflow",
"wallTimeTillNextStep": 0
},
{
"datetime": "2025-03-16T06:37:32Z",
"eventType": "ATTEMPT_SUCCESS",
"instanceId": "cb2f6bf4-b248-4d1f-9504-cec844eb75f3",
"stepCount": 1,
"stepName": "get client database connection",
"wallTime": 0,
"workflowName": "poll-database-workflow",
"wallTimeTillNextStep": 0
}
]
@HardlyWorkin' @Matt Silverlock
Let me know if any guidance on this. We're hoping to rely on Cloudflare Workflows for a polling process, so this seemingly spurious error gives us pause.
Having some clarity here would help us greatly.
cc @Diogo Ferreira
@ajay1495 What is your account ID?
Sorry for the delay. Account ID is: 470d4729e23e8936fd2a8f6569770873
@Matt Silverlock
@Matt Silverlock @Diogo Ferreira
@HardlyWorkin' appreciate any guidance here 🙂
Are these still showing as running?
If the Workflow is showing as terminated - the step showing as “running” is a bug we’re fixing. The fix won’t be retroactive.