Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

NonRetryableError

minor suggestion: display error messages on the dashboard/api currently, a ```ts throw new NonRetryableError("File too big!")...

Local dev trigger

Correct me if I'm wrong, but is there really not a way to use wrangler CLI to trigger a workflow for local dev??

Hey @avenceslau | Workflows We have

Hey @avenceslau We have been encountering Workflow instances that occasionally are terminating on their own while running and aren't throwing an error as expected. It seems to occur about once a day now, and it requires manual intervention for us to kick the workflow off again. Essentially these Workflow instances appear to be receiving a "terminate" signal but we are not the ones initiating them. Any idea on what might be up?...

Workflows vs Queues

So I am really confused about the use cases of Workflows vs Queues. Seems like anything you could do in one you could also do in the other. Are there specific parameters (like limits, costs, performance, etc.) that I should keep in mind when deciding?

Terminate behavior

what is the expected behavior when you terminate a workflow? it says it's not implemented locally, and in cloudflare steps continue to run. couldn't find details in the docs....

waitForEvent

question about waitForEvent, sometimes, even the event is fired, the waitForEvent is still waiting. This happens to the workflow that has waited for more than 20 minutes, do I miss something? Is it because I put the waitForEvent inside a step.do?

Step retries

Hello, I need one help. I have one workflow with some do steps, if any step got failed and it's maximum retry also got failed so can i retry it manually by any way? cloudflare doesn't provide API to retry specific step manually but by doing any hack can I achieve manual retry for any step?

need some help with this error if anyone

need some help with this error if anyone can see something I can't ``` ✘ [ERROR] TypeError: Cannot read properties of undefined (reading 'Symbol(Symbol.dispose)') at InstanceImpl.sendEvent...

hello, we're heavy users of Workflows

hello, we're heavy users of Workflows and our system is hitting up against the 100 per 10 seconds "Maximum Workflow instance creation rate" limit. we are seeing the number of queued workflow instances as we are adding users. we've submitted the Limit Increase Request Form twice and wanted to see if someone could help with increasing our limit there...

Too many API requests by single worker invocation

In Workflows (using Python) i get this kind of exception: "pyodide.ffi.JsException: Error: Too many API requests by single worker invocation." Can someone explain to me what API requests are meant? API requests to external APIs using HTTP or API requests to cloudflare services or both?...

Observability

workflows would be great if there was local observability like how inngest has it

hey is there a way to do per-user queues

hey is there a way to do per-user queues when triggering Workflows? Either natively within the Workflows or by using Queues to trigger workflows? I would like to be able to have per-user queues when triggering workflows via API but also when creating workflows from within another workflow

Hi guys, I need assistance to fix this

Hi guys, I need assistance to fix this issue: Too many API requests by single worker invocation. I have paid workers account. I am using Workflows alongside Queues to fetch, process, and store data.

would it be possible to use the

would it be possible to use the waitForEvent to make a some sort of debounce?

Hello, I have an issue. When I run a

Hello, I have an issue. When I run a workflow, the workflow is always queued..

Attempt failed due to internal workflows error

Hey guys, I'm seeing a crazy number of random "Attempt failed due to internal workflows error" effects in various different Workflow steps. How can i get further info as to whats causing it? I've trawled the logs but can see nothing that would indicate anything abnormal.

Workers API

Within a Workflow, can you run a Workflow Step in parallel? For example: The AI SDK allows parallel execution of a step: https://developers.cloudflare.com/workflows/build/workers-api/#call-workflows-from-workers And so does Mastra: https://mastra.ai/en/docs/workflows/control-flow#simultaneous-steps-with-parallel...

in workflow step if we want to return

in workflow step if we want to return not just from step also from workflow successfully what can we do, do you have any idea ? I mean is there any equivalent form of non retryable error

Has anyone encountered Workflows failing

Has anyone encountered Workflows failing with the following error: (instance.in_finite_state) Instance reached a finite state, cannot send events to it

it seems like onl;y the invocation

it seems like onl;y the invocation islogged in workers logs