-
Notifications
You must be signed in to change notification settings - Fork 549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix recursive symlinks when uploading to sky storage #882
Conversation
Thanks!
By ignore, do you mean we now copy symlinks as-is, without following? Please also verify regular file_mounts do this (preferably in a smoke test, using_file_mounts!). Relatedly: can we also update all relevant docs to reflect this change? |
For regular filemounts, I think there was a prior PR #431 that does not upload symlinks. Think this is just a nit pertaining to Sky Storage. |
e2e7f46
to
40a0f3a
Compare
Sorry I should have clarified:
I have added test cases for both (Commits will be pushed after the repo compression is done) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @romilbhardwaj - some comments.
* Fix symlinks * Add tests * fix symlink * address comments * lint * fix
* Fix symlinks * Add tests * fix symlink * address comments * lint * fix
Closes #814 by using
--no-follow-symlinks
flag foraws s3 sync
. Sky Storage now ignores all symlinks (like regular file_mounts, I believe).Tested:
./tests/run_smoke_tests.sh test_file_mounts
pytest test_smoke.py::TestStorageWithCredentials