Skip to content

refact(pull): verify local blob integrity before pulling#123

Merged
mike-sul merged 1 commit intomainfrom
refact/check-hashes-before-pull
Mar 3, 2026
Merged

refact(pull): verify local blob integrity before pulling#123
mike-sul merged 1 commit intomainfrom
refact/check-hashes-before-pull

Conversation

@mike-sul
Copy link
Collaborator

@mike-sul mike-sul commented Mar 2, 2026

Verify hashes of app blobs already present in the local store before running an update/pull operation. This ensures we detect and re-download blobs that have become corrupted due to external factors (e.g., disk degradation).

Checking only the blob size is not sufficient, as corrupted blobs may still match the expected size while having invalid content.

Verify hashes of app blobs already present in the local store
before running an update/pull operation. This ensures we detect and
re-download blobs that have become corrupted due to external factors
(e.g., disk degradation).

Checking only the blob size is not sufficient, as corrupted blobs may
still match the expected size while having invalid content.

Signed-off-by: Mike Sul <mike.sul@foundries.io>
@mike-sul mike-sul requested a review from detsch March 2, 2026 14:10
@mike-sul mike-sul merged commit ea19f40 into main Mar 3, 2026
4 checks passed
@mike-sul mike-sul deleted the refact/check-hashes-before-pull branch March 3, 2026 08:31
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