Skip to content

Error in a local activity should fail the WorkflowTask instead of failing an activity execution #1533

@Spikhalskiy

Description

@Spikhalskiy

Current behavior

Currently, Local Activities lack graceful support for Errors that may happen in the Activity thread. If this happens we fail the local activity execution with RetryState.RETRY_STATE_INTERNAL_SERVER_ERROR.

Expected behavior

If Local Activity throws an Error, it should immediately fail Workflow Task. Java Error signals a problem with the Worker and shouldn't lead to a failure of a Local Activity execution or a Workflow.

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