Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug] Improperly accessing current activity context in outbound heartbeat #889

Closed
@cretz

Description

@cretz

Describe the bug

First found in Ruby at temporalio/sdk-ruby#279, we are accessing the current context in the outbound activity heartbeater to get the task token. We should not, because we allow heartbeating outside of context. So we should give the interceptor the task token another way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions