Add `ctx.log` for durably logging information.
Hey @Tomperez98 is this issue still open ? If yes can you please assign this to me to work on
Hi! Thank you for reaching out. Will assign you, we have been prioritizing other stuff
Thanks @Tomperez98 will raise a pr once I'm done with the changes.
Assigned. In case context for the issue is needed I'll give you some.
The ts sdk implements a crash-always pattern. This means that a workflow is destroy and re created every time we hit a suspension we throw the state of the coroutine.
Once we receive a resume message for the workflow we start from scratch and rely on the catching of values of durable promises.
The reason why ctx.log is preferred, needed, above console.log is that in case of the recovery we don't want to print a single log multiple times.
@wizaye - just checking in on this - how is it going? Need any assistance or have questions - let us know! Now that we have wrapped up some other things, we are looking at this one something to prioritize.