We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2245cd commit 69aff1eCopy full SHA for 69aff1e
outsource/submitter.py
@@ -529,6 +529,12 @@ def add_higher_processing_job(
529
_key = "-".join(
530
[dbcfg._run_id] + [f"{d}-{dbcfg.key_for(d).lineage_hash}" for d in data_types]
531
)
532
+ # Sometimes the filename can be too long
533
+ if len(_key) > 255 - len("untar--output.tar.gz.log"):
534
+ self.logger.warning(f"Filename {_key} is too long, will not include hash in it.")
535
+ _key = "-".join([dbcfg._run_id] + list(data_types))
536
537
+ raise RuntimeError(f"Filename {_key} is still too long.")
538
job_tar = File(f"{_key}-output.tar.gz")
539
540
# Add job
0 commit comments