-
Notifications
You must be signed in to change notification settings - Fork 123
[BUG][Local dev] Endless function execution at 9+ steps #291
Copy link
Copy link
Open
Labels
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
// hangs at step 10
for (let i = 0; i < 12; i++) {
await step.run(`step-${i}`, () => `result-${i}`)
}
// works fine
for (let i = 0; i < 12; i++) {
await step.run(`step-${i}-${Date.now()}`, () => `result-${i}`)
}and here is the complete inngest function that fails:
inngest.createFunction(
{ id: 'step-count-test', retries: 0 },
{ event: 'test/step-count' },
async ({ step }) => {
for (let i = 0; i < 12; i++) {
await step.run(`step-${i}`, () => `result-${i}`)
}
return 'done'
},
)Expected behavior
All steps to complete.
Code snippets / Logs / Screenshots
System info (please complete the following information):
- OS: MacOS
- npm package Version: 3.52.0
- Framework: Express
- Platform: local
Additional context
Add any other context about the problem here.
Reactions are currently unavailable