I'm getting the following error for my
I'm getting the following error for my workflows that have a sleep step for a longer period of time. Can someone help me troubleshoot?
2 Replies
My workflow is
onboarding-message-workflow
.
Clues to the failure:
- We're on Workers paid plan
- The worker experiences this "Grace period complete" error at exactly the 5 minute mark, but only when we have a sleep step of 5+ minutes:
Although we see this error in our logs, the workflow doesn't outright Fail. Rather, it continues (a retry?) until completion but the subsequent steps are stuck loading for a veryyyy long time (10+minutes).
- The intended sleep is for 1440 minutes (but fails long before that window is complete)
- One invocation of the workflow started at 1755890303717 and failed at 1755890604303, a 5 minute lifetime.
- I have no cpu_ms
limit in my wrangler configuration.
- Even though I see this "error" in the logs, all the runs are marked as Completed in the workflows dashboardbtw you shouldnt set name of sleep dynamic dont use ${delay_mins}, we get same error sometimes too
@scook