waitForEvent and sendEvent on local dev

I started getting the following error when sending events to a Workflow Instance that is waiting. See attached for implementation of waitForEvent and sendEvent. This setup has been working fine up until now. This seems to only be an issue locally; deployed versions are working as expected.
3 Replies
Olga Silva
Olga Silva3w ago
Hey! This is a bug we introduced recently but have a PR that will be released soon on a new version of wrangler - probably next next. We're sorry about that! But I do believe your Workflow instance is behaving as expected locally. Can you confirm that please?
Nathan Scheele
Nathan ScheeleOP3w ago
No, the workflow crashes when trying to send an event, so the workflow waiting never receives an event to end the wait Is there a version of Wrangler I can roll back to until the patch is released? @Olga Silva Just wanted to follow up here in regards to a version that isn't affected by this issue.
Olga Silva
Olga Silva3w ago
Hey! Today there's going to be a wrangler release, I'll let you know when this happens and what version you should start using! Meanwhile, you can rollback to the wrangler version 4.44.0 Hey @Nathan Scheele , wrangler version 4.45.4 should fix this!

Did you find this page helpful?