Add table relation cache for smart albums#4553
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughChangesAlbum user thumbnail caching
Access behavior and maintenance interfaces
Estimated code review effort: 4 (Complex) | ~60 minutes Poem
🚥 Pre-merge checks | ❌ 1❌ Failed checks (1 warning)
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 |
|
@coderabbitai review time! |
|
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 4
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: c0ed7d18-2b9d-4674-995b-550bf9ac43a9
📒 Files selected for processing (40)
app/Actions/Album/Delete.phpapp/Actions/Albums/Top.phpapp/Actions/Photo/Rating.phpapp/Events/PhotoHighlightToggled.phpapp/Events/PhotoPersonsChanged.phpapp/Events/PhotoRatingChanged.phpapp/Events/PhotoTagsChanged.phpapp/Factories/AlbumFactory.phpapp/Http/Controllers/AiVision/FaceController.phpapp/Http/Controllers/Gallery/AlbumController.phpapp/Http/Controllers/Gallery/PhotoController.phpapp/Jobs/CleanUpExtraction.phpapp/Jobs/ExtractColoursJob.phpapp/Jobs/ExtractZip.phpapp/Jobs/GeodecodeLocationJob.phpapp/Jobs/ImportImageJob.phpapp/Jobs/ProcessImageJob.phpapp/Jobs/RecomputeAlbumSizeJob.phpapp/Jobs/RecomputeAlbumStatsJob.phpapp/Jobs/RecomputeAlbumUserThumbsJob.phpapp/Jobs/Traits/DebouncesLatestJobTrait.phpapp/Jobs/Traits/HasFailedTrait.phpapp/Listeners/RecomputeAlbumUserThumbsOnPhotoChange.phpapp/Models/AlbumUserThumb.phpapp/Models/Extensions/CachesAlbumUserThumb.phpapp/Models/Extensions/ResolvesUserContext.phpapp/Models/PersonAlbum.phpapp/Models/TagAlbum.phpapp/Models/User.phpapp/Providers/EventServiceProvider.phpapp/Relations/BaseHasManyPhotos.phpapp/Relations/HasManyPhotosByPerson.phpapp/Relations/HasManyPhotosByTag.phpapp/SmartAlbums/BaseSmartAlbum.phpapp/SmartAlbums/MyBestPicturesAlbum.phpapp/SmartAlbums/MyRatedPicturesAlbum.phpapp/SmartAlbums/UnsortedAlbum.phpdatabase/migrations/2026_07_21_000000_create_album_user_thumbs_table.phptests/Unit/Actions/Db/OptimizeDbTest.phptests/Unit/Actions/Db/OptimizeTablesTest.php
Codecov Report❌ Patch coverage is 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 4
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 6349357f-9ca5-4a00-8efb-11ae6b97f4c0
📒 Files selected for processing (39)
app/Events/PhotoTagsChanged.phpapp/Http/Controllers/Gallery/PhotoController.phpapp/Http/Controllers/Gallery/SharingController.phpapp/Http/Resources/Models/ThumbAlbumResource.phpapp/Jobs/RecomputeAlbumStatsJob.phpapp/Jobs/Traits/DebouncesLatestJobTrait.phpapp/Listeners/RecomputeAlbumUserThumbsOnPhotoChange.phpdocs/specs/4-architecture/features/004-album-size-statistics/spec.mddocs/specs/4-architecture/features/004-album-size-statistics/tasks.mdresources/js/v7/components/maintenance/MaintenanceBulkScanFaces.vueresources/js/v7/components/maintenance/MaintenanceBulkScanNsfw.vueresources/js/v7/components/maintenance/MaintenanceCleaning.vueresources/js/v7/components/maintenance/MaintenanceDestroyDismissedFaces.vueresources/js/v7/components/maintenance/MaintenanceResetFaceScanStatus.vueresources/js/v7/components/maintenance/MaintenanceRunClustering.vueresources/js/v7/components/maintenance/MaintenanceSyncFaceEmbeddings.vueresources/js/v8/components/maintenance/MaintenanceBackfillAlbumSizes.vueresources/js/v8/components/maintenance/MaintenanceBulkScanFaces.vueresources/js/v8/components/maintenance/MaintenanceBulkScanNsfw.vueresources/js/v8/components/maintenance/MaintenanceCleaning.vueresources/js/v8/components/maintenance/MaintenanceDestroyDismissedFaces.vueresources/js/v8/components/maintenance/MaintenanceDuplicateChecker.vueresources/js/v8/components/maintenance/MaintenanceFilesize.vueresources/js/v8/components/maintenance/MaintenanceFixJobs.vueresources/js/v8/components/maintenance/MaintenanceFixTree.vueresources/js/v8/components/maintenance/MaintenanceFlushCache.vueresources/js/v8/components/maintenance/MaintenanceFlushQueue.vueresources/js/v8/components/maintenance/MaintenanceFulfillOrders.vueresources/js/v8/components/maintenance/MaintenanceFulfillPrecompute.vueresources/js/v8/components/maintenance/MaintenanceGenSizevariants.vueresources/js/v8/components/maintenance/MaintenanceMissingPalettes.vueresources/js/v8/components/maintenance/MaintenanceOldOrders.vueresources/js/v8/components/maintenance/MaintenanceOptimize.vueresources/js/v8/components/maintenance/MaintenanceResetFaceScanStatus.vueresources/js/v8/components/maintenance/MaintenanceRunClustering.vueresources/js/v8/components/maintenance/MaintenanceSyncFaceEmbeddings.vueresources/js/v8/components/maintenance/MaintenanceUpdate.vueresources/js/v8/components/maintenance/StatisticsIntegrity.vueresources/js/v8/views/admin/Maintenance.vue
💤 Files with no reviewable changes (2)
- resources/js/v8/views/admin/Maintenance.vue
- app/Jobs/RecomputeAlbumStatsJob.php
🚧 Files skipped from review as they are similar to previous changes (3)
- app/Jobs/Traits/DebouncesLatestJobTrait.php
- app/Http/Controllers/Gallery/PhotoController.php
- app/Listeners/RecomputeAlbumUserThumbsOnPhotoChange.php
Summary by CodeRabbit
New Features
Bug Fixes
Style