Skip to content

SDK support for activity reset #620

@drewhoskins-temporal

Description

@drewhoskins-temporal

When a user resets an activity the activity should be restarted.

  • They may have passed --reset-heartbeats in which case heartbeat details should be cleared
  • If they didn't pass it, they may nonetheless want the code to start from the beginning of the method (perhaps they've deployed a code fix which improves efficiency or fixes a memory leak, or have non-deterministic code that has randomly gotten into a bad state.)
    The server will inform the SDK that heartbeats were reset so that it can throw an error in the user's Activity.

Requirements:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions