Chad Retz
Chad Retz
Yes, we want to do a new release, we are just trying to get in a couple of more features in (OTel and metric buffer). Sorry for the wait.
> is this consistent with other SDKs? Yes. In all non-Python and non-Ruby SDKs, wait condition timeout is not an error it's a boolean. In Ruby and Python we use...
You are returning `Task` which is then serialized. `WorkflowHandle` is not meant to be serializable (just coincidence that it works with `System.Text.Json`). This would be the same as if you...
I don't believe any SDK records this metric when async activity is used. Async activity means "I will handle completion myself" and therefore it bypasses Temporal's completion mechanisms which includes...
> If you call handle.cancel() on an activity handle from the workflow, the CancelledError will only be raised in the activity after an activity.heartbeat() call, followed by an await something()...
> It's possible for task.cancel() to interrupt a coro such as sleep: Right, if `use_sleep` is set, that makes sense, it was just a bit strange to see an activity...
> these docs make it sound like you can just handle.cancel() and that will work In Python asyncio, calling cancel on a task doesn't immediately cancel always (or at all),...
> So can one use workflow.wait_condition until activity_handle.canceled() is True? The proper way is to wait on the activity task/handle itself, catching the `ActivityError` and checking that the `cause` is...
Thanks! I no longer really work on this repository, but I can merge this. Can you confirm the output of running all of the unit tests?
Unsure to be honest, I'd have to spend time debugging, but I have effectively abandoned work on this project.