I was wondering if golang sdk has a UUID generation util like the temporal java sdk? I recall it was recommended to use if it’s called within a workflow to be deterministic. I wasn’t sure if this rule applied to golang for generating uuid.
From the sample-go project, there is a workflow test that uses github.com/google/uuid. This make me think that it doesn’t matter?
This method is being called by the workflow and passes in the workflow context. It’s called multiple times in the workflow function to generate a unique UUID.
Actually, this might not be an issue anymore. I think the error isn’t reflecting the new workflows i’m creating with the updated worker code that supports side-effect, but rather based on the old workflows that executed/terminated against the old worker code without the side-effect in place.
Because I don’t know how to clear the workflow history, any query calls to this terminated workflows can caused these error messages.
Just curious, would it be make sense to not include the SideEffect in the compact view?