Call the `onFailure` hook for runs that were canceled, expired, etc

Currently the onFailure hook only gets called for failures that happen during your code execution, i.e. the code is actually running on your machine.

We need to change this or maybe add a different hook for any type of failure… this is annoying right now. We did it like this because it's a lot harder for us to spin up a machine just to run the onFailure hook. We will also need to know if the task needs to spun up because it actually implements that otherwise we waste compute and your concurrency spinning up a machine for no reason. Painful! But we will do it because it's annoying.

Upvoters
Status

In Review

Board

💡 Feature Request

Date

Over 1 year ago

Author

mattaitken

Subscribe to post

Get notified by email when there are changes.