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