Skip to content

Heartbeating activities should be interrupted when the activities are paused. #602

@drewhoskins-temporal

Description

@drewhoskins-temporal

Is your feature request related to a problem? Please describe.

When a user runs temporal activity pause, this should work on long-running activities that heartbeat.
Users likely won't have predicted in advance that they're going to need to pause the activity, so ideally this would interrupt the activity's execution by default.

Describe the solution you'd like

Ideally a cancel-like exception could be thrown (in languages where that's appropriate)

  • Users should be able to distinguish between this and cancel, as there maybe different actions they want to take when the activity is ending completely vs when it's going to resume later.

Additional context

Per-SDK Tickets

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions