telliks
CDCloudflare Developers
•Created by telliks on 12/4/2024 in #workflows-beta
DLQ Equivalent
Looking forward to it. It will make workflows even better.
The reason I proposed the optional error callback on the step level is because my mental model of Workflows are that it is essentially an orchestration of dynamic queues/steps. For that reason, it would be nice if each step has meta information about
attempts
, etc, analogous to how message currently work for queue batches.3 replies
CDCloudflare Developers
•Created by telliks on 12/4/2024 in #workflows-beta
DLQ Equivalent
It would be very useful.
A proposed API could be to have an error callback for the step's
do
method, which is invoked whenever the step fails. It could show the retry count and whether it is a final invocation.
3 replies
CDCloudflare Developers
•Created by telliks on 11/28/2024 in #workers-observability
Logs for OpenNext app
Just for future reference. Logs started working after upgrading to Workers Paid. Not sure why.
1 replies
CDCloudflare Developers
•Created by telliks on 11/20/2024 in #workflows-beta
Sure, I can share some pieces that I
Yeah, thanks I solved the issue. My problem was that the wrangler version pinned in my CI/CD pipeline was too old. That code snippet was just an example because it never even reached this point.
13 replies
CDCloudflare Developers
•Created by telliks on 11/20/2024 in #workflows-beta
Sure, I can share some pieces that I
Thanks for help checking anyways
13 replies
CDCloudflare Developers
•Created by telliks on 11/20/2024 in #workflows-beta
Sure, I can share some pieces that I
Yeah, I think it has something to do with this command:
npm create cloudflare@latest workflows-starter -- --template "cloudflare/workflows-starter"
AFAIK, that just creates a new worker but uses the given template. Since I already had a worker, I did not run this command and just tried adding the workflow config to my existing worker. Maybe that command does more just scaffold the project structure locally.13 replies
CDCloudflare Developers
•Created by telliks on 11/20/2024 in #workflows-beta
Sure, I can share some pieces that I
Thanks! I'm sure I'm just doing something silly. When you deployed your first worker, did you just add the config to the wrangler.toml file or did you have to create it first with some wrangler cli command and then reference it in the toml file?
13 replies
CDCloudflare Developers
•Created by telliks on 11/20/2024 in #workflows-beta
Sure, I can share some pieces that I
Is the
script_name
not just needed when you want to reference a workflow from another worker?13 replies