Repository navigation
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
duplicate_thumbnail_path expected a path, but duplicate passed the image record. Covers without a thumbnail then called Storage.copy(nil) and failed. Pass image.thumbnail_path so missing thumbnails are skipped. Related issue: huddlz-hq#765 Co-authored-by: Beehtrix <Beehtrix@users.noreply.github.com>
7a95bbb to
831c073
Compare
Fixes #765
HuddlCoverImages.duplicate/2was passing the image record intoduplicate_thumbnail_path/2, which expects a thumbnail path. Covers without a thumbnail then generated a destination path and calledStorage.copy(nil, …).Pass
image.thumbnail_pathso a missing thumbnail is skipped (or copied from the real path when present).Added unit coverage for both cases.