Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the 📝 WalkthroughWalkthrough
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (2 inconclusive)
✅ Passed checks (1 passed)
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! |
✨ Benchmark results
⚡ Benchmark Comparison
|
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
composer.lockis excluded by!**/*.lock
📒 Files selected for processing (7)
composer.json(1 hunks)src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php(1 hunks)src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php(1 hunks)src/Appwrite/Platform/Workers/StatsResources.php(1 hunks)src/Appwrite/Platform/Workers/StatsUsage.php(2 hunks)tests/e2e/Services/Databases/Legacy/DatabasesBase.php(1 hunks)tests/e2e/Services/Databases/TablesDB/DatabasesBase.php(1 hunks)
🔇 Additional comments (6)
tests/e2e/Services/Databases/Legacy/DatabasesBase.php (1)
4714-4717: Projection now aligns with relationship behavior.Selecting
library.*before filtering ensures the nested relationship payload is available under the new API semantics. Looks good.src/Appwrite/Platform/Workers/StatsResources.php (1)
465-468: LGTM! Database method migration aligns with library upgrade.The update from
createOrUpdateDocumentstoupsertDocumentsis consistent with the utopia-php/database 2.* upgrade. The method signature, parameters, and error handling remain unchanged.src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php (1)
246-252: LGTM! Consistent database method migration.The update from
createOrUpdateDocumentstoupsertDocumentsmaintains the same signature and callback pattern, aligning with the database library upgrade.src/Appwrite/Platform/Workers/StatsUsage.php (2)
455-455: LGTM! Database method migration for project stats.The update from
createOrUpdateDocumentsWithIncreasetoupsertDocumentsWithIncreaseis consistent with the database library upgrade and maintains the same increment semantics.
535-539: LGTM! Database method migration for logs DB.The update from
createOrUpdateDocumentsWithIncreasetoupsertDocumentsWithIncreasemirrors the change in line 455, ensuring consistency across both database write paths.src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Bulk/Upsert.php (1)
116-124: Approve bulk upsert migrationNo remaining usages of
createOrUpdateDocuments*;upsertDocumentsnow consistently replaces deprecated methods in both single and bulk operations.
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
tests/e2e/Services/Databases/TablesDB/DatabasesBase.php(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Setup & Build Appwrite Image
- GitHub Check: Setup & Build Appwrite Image
- GitHub Check: scan
What does this PR do?
(Provide a description of what this PR does and why it's needed.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Screenshots may also be helpful.)
Related PRs and Issues
Checklist