You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing libraries or code to work with Cloudflare Workflows, we have to consider the fact that the state may be lost due to hibernation.
However, there is currently no (reasonable) way to test that our libraries or code do not violate the workflow rules and are not impacted by hibernation.
We could:
awaitstep.sleep("Hopefully this hibernates","1 hour");
But this is not really viable for tests!
How about something like this that only works with wrangler?