Skip to content

fix(scoop-download): change to abort instead of continue when hash check fails #6414

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

z-Fng
Copy link

@z-Fng z-Fng commented Jul 8, 2025

Description

This PR makes the following changes:

  • fix(scoop-download): change to abort instead of continue when hash check fails.

Motivation and Context

When a file fails the hash check during download, it is correctly deleted, but the system incorrectly reports the download as successful. This misleading status may cause users to assume the file is valid when it has actually been removed due to integrity verification failure.

Closes #6413

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.

@z-Fng z-Fng force-pushed the fix-scoop-download branch from d60c83c to 1a31258 Compare July 8, 2025 17:50
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.

1 participant