Sanidhya Singh
02/20/2023, 6:24 AMclaire
02/21/2023, 11:21 PMOne thought that came to mind (although I haven't tried it myself) is to create a failure_hook that fires off something like. Then you can apply this hook to every step on your job using the hooks parameter on the job decorator (i.e.context.instance.run_coordinator.cancel_run(context.run_id)
)@job(hooks={my_cancel_hook})
10:00 AM
there might be some subtitles there where this could end up sending a bunch of cancelation requests at once, so you might need to add some extra checks around that.