Hello, I was wondering if anyone has suggestions for isolating branched steps using the @catch decorator. Currently I am doing some data processing in a step, and this data processing can be problematic and cause various issues. To prevent a failure in this step from causing the entire flow to fail I am using a @catch and @timeout to limit the allowed execution time as well as catch exceptions, and I am also executing the processing in a subprocess as well to handle segmentation faults. The issue I'm running into is that when a memory leak occurs, which sometimes happens, the step hard fails (seems like kubernetes is killing the pod), causing the entire flow to eventually fail and not complete. Should the I am using Argo to start my Metaflows. I can provide more detail if it helps. Would using a custom step decorator monitoring memory usage be a good way to go?
Thanks!