temporalio / sdk-dotnet

Temporal .NET SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Activity definition cache reuses instance

cretz opened this issue · comments

Describe the bug

When an activity is added for the same method on different instances, we reuse the cache for the first instance which also has the invoker cached which is bound to that one instance. We need to only cache the non-invocable details, not the invoker as well.