<#3025 [BUG] Deep recursion can exceed S3 filename...
# flyte-github
a
#3025 [BUG] Deep recursion can exceed S3 filename maximum length Issue created by hamersaw Describe the bug In scenarios where a Flyte workflow has deep recursion, for example bayesian optimizaiton where training tasks are launched based on the outputs of others, the storage paths for node inputs / outputs may become very large. This is because these paths include all of the parent information (ie. node ID), for example node recursion with IDs
n0
,
n1
,
n2
, ...,
nM
has the filepath
n0/n1/n2/.../nM
. The maximum path length in S3 seems to be around 512 characters, with custom named nodes this can quickly fill with deep recursion. Expected behavior Flyte should preferably support unbounded path lengths for deep recursion. Additional context to reproduce Create a workflow with deep recursion, for example dynamic tasks that continually call other dynamic tasks. Once the recursion becomes deep enough S3 will throw an error along the lines of "file name too long". Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte