feat(automations): add file count condition field#2163
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (18)
WalkthroughAdded the ChangesFile Count Automation Support
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: Sequence Diagram(s)sequenceDiagram
participant AutomationService
participant SyncManager
participant EvalContext
participant Evaluator
AutomationService->>SyncManager: Fetch torrent files in batch
SyncManager-->>AutomationService: Return file lists
AutomationService->>EvalContext: Store FileCountByHash
Evaluator->>EvalContext: Read count by torrent hash
Evaluator-->>AutomationService: Compare FILE_COUNT condition
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 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. Comment |
|
Noticed that #1190 is related. |
Summary
Adds a File Count condition field to the automations query builder — lets rules filter/sort torrents by how many files they contain
Summary by CodeRabbit
New Features
Documentation
Bug Fixes