fix(billing): properly filters active leases and triggers the job#2354
fix(billing): properly filters active leases and triggers the job#2354ygrishajev merged 2 commits intomainfrom
Conversation
WalkthroughThis PR integrates wallet reload job scheduling into the deployment setting creation flow by injecting WalletReloadJobService and triggering an immediate reload when auto top-up is enabled. Additionally, the draining deployment RPC service is updated to filter results by active state, and documentation is clarified. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
🧰 Additional context used📓 Path-based instructions (2)**/*.{ts,tsx,js}📄 CodeRabbit inference engine (.cursor/rules/general.mdc)
Files:
**/*.spec.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/no-jest-mock.mdc)
Files:
🧠 Learnings (1)📚 Learning: 2025-06-03T15:06:34.211ZApplied to files:
⏰ 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)
🔇 Additional comments (4)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2354 +/- ##
==========================================
- Coverage 51.31% 51.03% -0.29%
==========================================
Files 1060 1050 -10
Lines 28947 28603 -344
Branches 6315 6337 +22
==========================================
- Hits 14855 14597 -258
- Misses 13685 13721 +36
+ Partials 407 285 -122
*This pull request uses carry forward flags. Click here to find out more.
🚀 New features to boost your workflow:
|
refs #1779
Summary by CodeRabbit
Release Notes
New Features
Improvements
Documentation
✏️ Tip: You can customize this high-level summary in your review settings.