Skip to content

[BUG] Typescript tasks do not retain their canceled status after they exit #2655

@akeating

Description

@akeating

When cancelling a typescript task and throwing in the task in response to the cancellation, the task is marked as failed and retried
=> expected the task to be marked as cancelled and not retried

When cancelling a typescript task and simply exiting the task gracefully, the task is marked a succeeded
=> expected the task to be marked as cancelled and not marked as succeeded

This behavior appears to be different to the python sdk which suppresses status update if cancelled.

Latest typescript sdk and hatchet-lite

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