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

dvc.stage.cache: fix typo, was using src filesystem to transfer #7739

Merged
merged 1 commit into from May 23, 2022

Conversation

skshetry
Copy link
Member

@skshetry skshetry commented May 12, 2022

Source filesystem was being used to transfer file to destination instead of the destination's filesystem.
This was working for LocalFileSystem as they work for any directories/path.
It's hard to test this these days, as we don't have remote tests inside dvc, so it was not caught.

Potentially fixes #7718.

  • Add a test.

  • ❗ I have followed the Contributing to DVC checklist.

  • 📖 If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

@skshetry skshetry requested a review from a team as a code owner May 12, 2022 17:31
@skshetry skshetry requested review from efiop and dberenbaum May 12, 2022 17:31
@skshetry skshetry self-assigned this May 12, 2022
@skshetry skshetry added c1-quick-fix bugfix fixes bug A: run-cache Related to the run-cache feature labels May 12, 2022
@dberenbaum
Copy link
Contributor

Any useful test we could add?

@efiop efiop added the release-blocker Blocks a release label May 17, 2022
This was working for LocalFileSystem as they work for any directories/path.
It's hard to test this these days, as we don't have remote tests inside
dvc, so it was not caught.

Potentially fixes iterative#7718.
@skshetry
Copy link
Member Author

@efiop, this should be ready for the review, the tests for other remotes (s3) will run in iterative/dvc-s3#2.

@efiop efiop merged commit 942a080 into iterative:main May 23, 2022
@skshetry skshetry deleted the fix-7718 branch May 23, 2022 13:39
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 release-blocker Blocks a release
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

dvc push --run-cache: Remote storage run-cache does not seem to be updated
3 participants