feat(media): scrape indexed items and directory subtrees - #1452
feat(media): scrape indexed items and directory subtrees#1452wizzomafizzo wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (26)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughChangesScoped Scoped API contract and resolution
Database selection
Operation scope lifecycle
Shared scraper execution
Scraper integrations and documentation
Estimated code review effort: 4 (Complex) | ~60 minutes Merge Risk: ⚪ Minimal · up to Scoped scraping preserves validated selection, scoped persistence and resume behavior, and scoped scraper writes without an identified merge-blocking regression. Sequence Diagram(s)sequenceDiagram
participant Client
participant media.scrape
participant MediaDB
participant Scraper
participant MediaWriter
Client->>media.scrape: submit scope
media.scrape->>MediaDB: resolve and validate scope
media.scrape->>MediaDB: persist ScrapingOperation
media.scrape->>Scraper: pass ScrapeOptions.Scope
Scraper->>MediaDB: load scoped selection
Scraper->>MediaWriter: apply scoped targets
MediaWriter-->>Client: emit scoped progress and completion
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 25.81% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 31 functions across 22 files. (4 skipped: 4 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
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 |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Add optional media ID, exact-file, and system-bound subtree scopes to
media.scrape, preserving existingsystemsrequests.Narrow selection across all scrapers, persist exact scope for restart recovery, and keep force cleanup and progress scoped. Add regression coverage, path fuzzing, and API documentation.
Closes #1326
Summary by CodeRabbit
New Features
Documentation
Tests