Repository navigation
[4.x] Correct job order in DeletingTenant pipeline - #1492
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe stub reorders two commented jobs in the tenant-deletion pipeline. Both jobs remain disabled. ChangesTenant deletion pipeline
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to Only the example order of two disabled jobs changes, so tenant-deletion execution is unaffected and no actionable merge risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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. I’m a rabbit, hopping by, Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1492 +/- ##
=========================================
Coverage 86.89% 86.89%
Complexity 1252 1252
=========================================
Files 186 186
Lines 3654 3654
=========================================
Hits 3175 3175
Misses 479 479 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
In the
DeletingTenantjob pipeline example in the TenancyServiceProvider stub,Jobs\DeleteTenantStorage::classis positioned beforeJobs\RemoveStorageSymlinks::class. After uncommenting both,RemoveStorageSymlinkscalls$tenant->run()(viapossibleTenantSymlinks) which creates the directory already deleted byDeleteTenantStorage.Swap the order of these jobs so that the cleanup works as expected (= tenant storage directory gets deleted with tenant).
Summary by CodeRabbit