Skip to content

Validate MD5 Checksum Before Upload#503

Open
leoraba wants to merge 4 commits into
developfrom
feat/upload_file_md5_valid
Open

Validate MD5 Checksum Before Upload#503
leoraba wants to merge 4 commits into
developfrom
feat/upload_file_md5_valid

Conversation

@leoraba
Copy link
Copy Markdown
Contributor

@leoraba leoraba commented May 11, 2026

Summary

Ensure the file MD5 checksum matches before starting the upload to S3.

Issues

Description of Changes

Validate the file MD5 checksum against the Metadata Server (Song) to prevent mismatched checksums between Song and Score file manifests before initiating the upload.

Score-server

  • Validate the file MD5 checksum provided in the upload payload against the Metadata file registered in Song. This validation occurs prior to starting any upload to the Object Storage. If there is an MD5 mismatch, an error is thrown, and detailed logs are generated.

Common

  • Upgrade AWS SDK to the latest version 1 available (as of Dec 2025).
  • Fix broken Docker commands used primarily in Makefile for testing purposes.

Readiness Checklist

  • Self Review
    • I have performed a self review of code
    • I have run the application locally and manually tested the feature
    • I have checked all updates to correct typos and misspellings
  • Formatting
    • Code follows the project style guide
    • Autmated code formatters (ie. Prettier) have been run
  • Local Testing
    • Successfully built all packages locally
    • Successfully ran all test suites, all unit and integration tests pass
  • Updated Tests
    • Unit and integration tests have been added that describe the bug that was fixed or the features that were added
  • Documentation
    • All new environment variables added to .env.schema file and documented in the README
    • All changes to server HTTP endpoints have open-api documentation
    • All new functions exported from their module have TSDoc comment documentation

@leoraba leoraba marked this pull request as draft May 11, 2026 18:35
@leoraba leoraba marked this pull request as ready for review May 11, 2026 22:34
@leoraba leoraba changed the title Verify Md5 checksum during upload Validate MD5 Checksum Before Upload May 11, 2026
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