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

Fixes upload fails for non-existent partner video upload to S3 #2849

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

kiancross
Copy link
Contributor

@kiancross kiancross commented Dec 27, 2024

Previously, the S3 upload flow attempted to upload a partner video regardless of its existence, resulting in an error when the video was missing. This error prevented the job responsible for uploading the original variant to S3 from completing successfully.

This commit adds a check to ensure the partner video exists before attempting to upload, resolving the issue and allowing the job to complete as expected.

Fixes one of the bugs described here: #2521.

…ilure

Previously, the S3 upload flow attempted to upload a partner video regardless
of its existence, resulting in an error when the video was missing. This error
prevented the job responsible for uploading the original variant to S3 from
completing successfully.

This commit adds a check to ensure the partner video exists before attempting
to upload, resolving the issue and allowing the job to complete as expected.
Copy link

codecov bot commented Dec 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.09%. Comparing base (8cc5f42) to head (7f42479).
Report is 1 commits behind head on master.

Additional details and impacted files

@kiancross
Copy link
Contributor Author

I have no idea what the test error means.

@ildyria
Copy link
Member

ildyria commented Dec 27, 2024

Hi @kiancross

thanks for the PR. I'll try to investigate hat is going wrong.
I do agree it is a weird one which makes no sense.

@ildyria
Copy link
Member

ildyria commented Dec 27, 2024

Tests pass on my machine...

@ildyria ildyria changed the title Fixes bug where non-existent partner video upload to S3 causes job failure Fixes upload fails for non-existent partner video upload to S3 Dec 27, 2024
@ildyria ildyria merged commit 148ec74 into LycheeOrg:master Dec 27, 2024
58 of 61 checks passed
@kiancross kiancross deleted the fix-s3-photo-upload branch December 27, 2024 14:09
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