Repository navigation
Thumbnails followups - #3793
Thumbnails followups#3793
Conversation
A box like 0x2048 passed the check, and the aspect ratio of a very wide source then sized the other side without a bound.
The old default list reached 7680x4320, which made webdav ask the generator for boxes it refuses.
With both the old and the new name set, webdav and the thumbnails service picked different values.
Without it the user provider searched with an empty tenant.
The cache keys changed, so the old files were never read again but stayed mixed in with the new ones. With the cache in its own directory the old one can be deleted.
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 5 |
🟢 Coverage 88.64% diff coverage
Metric Results Coverage variation Report missing for 38845621 Diff coverage ✅ 88.64% diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (3884562) Report Missing Report Missing Report Missing Head commit (9c15a7e) 92415 24921 26.97% Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#3793) 44 39 88.64% Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%1 Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
|
Two things I'd like changed, the rest looks good to me:
Optional: in the gif path ( |
0x0 returns the source at its own size, which skipped the check and let anything up to the input limit through.
Improve and harden the new push-based thumbnail generator.