Skip to content

serialize: use checksums that are already saved#3708

Merged
efiop merged 1 commit into
treeverse:masterfrom
efiop:3707
Apr 30, 2020
Merged

serialize: use checksums that are already saved#3708
efiop merged 1 commit into
treeverse:masterfrom
efiop:3707

Conversation

@efiop
Copy link
Copy Markdown
Contributor

@efiop efiop commented Apr 30, 2020

get_checksum() recomputes the checksum which might not match the
pre-recorded one. checksum is the one that was save()ed during run
and it is the one that should be used in the lockfile.

  • ❗ 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. If the CLI API is changed, I have updated tab completion scripts.

  • ❌ I will check DeepSource, CodeClimate, and other sanity checks below. (We consider them recommendatory and don't expect everything to be addressed. Please fix things that actually improve code or fix bugs.)

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

`get_checksum()` recomputes the checksum which might not match the
pre-recorded one. `checksum` is the one that was `save()`ed during run
and it is the one that should be used in the lockfile.
@efiop efiop requested a review from skshetry April 30, 2020 13:02
Copy link
Copy Markdown
Collaborator

@skshetry skshetry left a comment

Choose a reason for hiding this comment

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

If tests passes, 👍

@efiop efiop merged commit d998c0a into treeverse:master Apr 30, 2020
@efiop efiop deleted the 3707 branch April 30, 2020 13:21
@efiop efiop self-assigned this Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants