cloudflare / cloudflare/workerd
🐛 Bug Report — Workflow API - Setting delay as 0 causes workflow to fail
Open
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
Following code causes the step to fail
```
const createOrderStep = await step.do(
"create order",
{ retries: { limit: 1, delay: 0 } },
async () => {
});
```
The error I get in workflow page is following
```
e2.match is not a function
```
Also I couldn't find anywhere the default delay duration, is it documented somewhere?
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.