Skip to content
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

run-cache: fix push from Windows to remote filesystems #7873

Merged
merged 1 commit into from Jun 11, 2022

Conversation

skshetry
Copy link
Member

@skshetry skshetry commented Jun 10, 2022

We were passing paths with \\ in the filename instead of posix paths to
remote filesystems which were causing failures to upload.
Although in some filesystems, this was failing silently, so upload would seem
to have passed, but the download later would fail.

We were passing paths with '\\' in the filename instead of posix paths to
remote filesystems which was causing failures to upload.
Although in some filesystems, this was failing silently, so upload would seem
to have passed, but the download later would fail.
@skshetry skshetry added p1-important Important, aka current backlog of things to do testing Related to the tests and the testing infrastructure bugfix fixes bug A: run-cache Related to the run-cache feature labels Jun 10, 2022
@skshetry skshetry requested review from efiop and dtrifiro June 10, 2022 12:23
@skshetry skshetry requested a review from a team as a code owner June 10, 2022 12:23
@skshetry skshetry self-assigned this Jun 10, 2022
Comment on lines +230 to +231
if not isinstance(to_fs, LocalFileSystem):
rel = from_fs.path.as_posix(rel)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@efiop, this shows that we really need to use posix paths everywhere.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully this should be mitigated with run-cache object introduction.

Copy link
Member

@efiop efiop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@efiop efiop merged commit e6db6ff into iterative:main Jun 11, 2022
@skshetry skshetry deleted the fix-windows-stage-cache branch June 11, 2022 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: run-cache Related to the run-cache feature bugfix fixes bug p1-important Important, aka current backlog of things to do testing Related to the tests and the testing infrastructure
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants