sdr
sdr
CDCloudflare Developers
Created by telliks on 11/20/2024 in #workflows-beta
Sure, I can share some pieces that I
I don't think theres any extra scaffolding that it does, theres likely something very small off with your setup but I can't quite spot it
12 replies
CDCloudflare Developers
Created by telliks on 11/20/2024 in #workflows-beta
Sure, I can share some pieces that I
Yeah I just ran it with the cli tool and used the defaults npm create cloudflare@latest workflows-starter -- --template "cloudflare/workflows-starter" Id say try do it from scratch in an independent worker to get it setup first and then migrate what works into your existing hono app
12 replies
CDCloudflare Developers
Created by telliks on 11/20/2024 in #workflows-beta
Sure, I can share some pieces that I
Maybe your workflow needs to have its run function defined? export class ProcessIncomingEmailsWorkflow extends WorkflowEntrypoint< Bindings, Params
{
async run(event: WorkflowEvent<Params>, step: WorkflowStep) { const done = await step.do('work', async () => { return true }); return done } }
12 replies
CDCloudflare Developers
Created by telliks on 11/20/2024 in #workflows-beta
Sure, I can share some pieces that I
Ah yeah that might be it. I might have an older config. Theres a PR around clarifying that here https://github.com/cloudflare/cloudflare-docs/pull/17770/files
12 replies
CDCloudflare Developers
Created by telliks on 11/20/2024 in #workflows-beta
Sure, I can share some pieces that I
You might be missing the script_name key from your wrangler.toml workflows section [[workflows]] ... script_name = "process-incoming-emails"
12 replies
CDCloudflare Developers
Created by Seekerdasbatatas on 10/28/2024 in #workflows-beta
You are only charged for CPU cycles **
Is it planned to show CPU time on the dashboard?
2 replies
CDCloudflare Developers
Created by sdr on 10/27/2024 in #workflows-beta
Also I notice that the step name listed
Yeah maybe its attempts. It would be strange to have a dynamic step name though
9 replies
CDCloudflare Developers
Created by sdr on 10/27/2024 in #workflows-beta
Also I notice that the step name listed
No description
9 replies
CDCloudflare Developers
Created by sdr on 10/27/2024 in #workflows-beta
Also I notice that the step name listed
const updatedRun = await step.do(`run.complete`, async () => {
...
const updatedRun = await step.do(`run.complete`, async () => {
...
9 replies