<#6620 Upstream flyte copilot change for better fo...
# flyte-github
a
#6620 Upstream flyte copilot change for better folder handling Pull request opened by wild-endeavor ## Why are the changes needed? The downloading of folders in flyte copilot still was not fully correct. The previous PR https://github.com/unionai/flyte/pull/813 enabled downloading of FlyteDirectory, but the paths were all messed up. They looked like
Copy code
/var/inputs/example_dir/my-s3-bucket/hl/apmjs8n9gbwtkm8gdhfg-n0-0/e6ea039a2164eec55ca772469501ee64/my_file.txt
## What changes were proposed in this pull request? This strips out the prefix correctly. ## How was this patch tested? Tested by running internally. ### Labels Please add one or more of the following labels to categorize your PR: • added: For new features. • changed: For changes in existing functionality. • deprecated: For soon-to-be-removed features. • removed: For features being removed. • fixed: For any bug fixed. • security: In case of vulnerabilities This is important to improve the readability of release notes. ### Setup process ### Screenshots ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link https://bito.ai#summarystart| ### Summary by Bito This pull request enhances blob handling in the downloader component of Flyte Copilot by improving folder path management during downloads. It ensures the correct folder structure is maintained and adds new tests to validate these changes, enhancing reliability. flyteorg/flyte