cuddly-jelly-27016
05/25/2025, 12:11 AMget operations. I am discussing options with the fsspec community, but the current workaround would require a fix to flytekit and is not ideal. The bug only pops when all of the below are true
a) remoteData is configured to set signedUrls:true
b) the presigned URL is larger than n (file system limit) characters (common for S3)
c) the payload is larger than maxSizeInBytes
d) FlyteRemote is used to interact with the execution - I am not 100% confident in this, but it's the only use case I could find
This is related to another bug I filed and could potentially be fixed with the same solution.
### Expected behavior
remote.fetch_execution() succeeds
### Additional context to reproduce
@thankful-minister-83577 was able to reproduce using a local setup and the following test:
def test_file_handling_http():
local_dir = "/Users/ytong/temp/fss_output"
try:
shutil.rmtree(local_dir)
except FileNotFoundError:
...
http_fs = fsspec.filesystem("http")
http_signed_url = longUrl
http_fs.get(http_signed_url, os.path.join(local_dir, "from_http"))
### Screenshots
No response
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
05/25/2025, 12:11 AM