Conversation
Ensure libwebp is installed in the base image when imagemagick is installed so that imagemagick works with webp.
📝 WalkthroughWalkthroughThis PR updates the Docker base image from appwrite/base:0.10.4 to appwrite/base:0.10.5, removes explicit libwebp package installation, and extends e2e storage tests to validate WEBP file handling. The testCreateBucketFile method now returns webpFileId, a new testFilePreview method is introduced to verify preview generation with image/webp content-type, and testListBucketFiles pagination assertion is adjusted. The changes introduce WEBP file upload, preview validation, and content verification into the test workflow. Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🧬 Code graph analysis (1)tests/e2e/Services/Storage/StorageBase.php (1)
🔇 Additional comments (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Security Scan Results for PRDocker Image Scan Results
Source Code Scan Results🎉 No vulnerabilities found! |
|
@copilot add 2 test cases in https://github.com/appwrite/appwrite/blob/main/tests/e2e/Services/Storage/StorageBase.php:
|
|
@stnguyen90 I've opened a new pull request, #10739, to work on those changes. Once the pull request is ready, I'll request review from you. |
✨ Benchmark results
⚡ Benchmark Comparison
|
Co-authored-by: stnguyen90 <[email protected]>
Co-authored-by: stnguyen90 <[email protected]>
Co-authored-by: stnguyen90 <[email protected]>
Co-authored-by: stnguyen90 <[email protected]>
Co-authored-by: stnguyen90 <[email protected]>
Co-authored-by: stnguyen90 <[email protected]>
Add test coverage for webp upload and preview functionality
What does this PR do?
Upgrade base image to version 0.10.5 ensuring libwebp is installed in the base image when imagemagick is installed so that imagemagick works with webp.
Fixes #10699
Test Plan
Related PRs and Issues
Checklist