It is possible for Nextflow to fail early which prevents the cleanup and log upload which would ordinarily happen at the end of a run. Without the logs on cloud storage, it becomes difficult to understand the failure.
It is possible to force the upload by adding in a post-run script such as:
echo "Copying log files:" for log in nf-*.log*; do
aws s3 cp $log s3://my-bucket-name/debug-logs/
done
It is possible to add this sort of fallback log upload as a built-in feature in Seqera Platform?