When running cbScanpyImport on processes where you are constrained by memory (ie cloud VMs), the OS killing the process due to OOM ends up with cbScanpyImport exiting with a zero exit code. This means that workflow environments will think that the process was succesful when it wasn't.
I suspect there must be some handling of SIGTERMs sent from outside where this is catch and the process doesn't produce an error exit code.
When running cbScanpyImport on processes where you are constrained by memory (ie cloud VMs), the OS killing the process due to OOM ends up with cbScanpyImport exiting with a zero exit code. This means that workflow environments will think that the process was succesful when it wasn't.
I suspect there must be some handling of SIGTERMs sent from outside where this is catch and the process doesn't produce an error exit code.