t1485: Split playwright-automator.mjs into focused modules (Qlty file-complexity 1272)#4923
Conversation
Split 6534-line monolith (Qlty file-complexity 1272) into 6 focused modules: - higgsfield-common.mjs (1439 lines): constants, utilities, browser helpers, credit guard, CLI parsing, discovery, login - higgsfield-api.mjs (385 lines): Higgsfield Cloud API client - higgsfield-image.mjs (569 lines): image generation, batch image - higgsfield-video.mjs (1373 lines): video generation, lipsync, batch video/lipsync - higgsfield-commands.mjs (2215 lines): pipeline, asset chain, misc commands, self-tests - playwright-automator.mjs (290 lines): thin CLI entry point (down from 6534) All modules pass node --check. CLI --help verified working. Closes #4905
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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 |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Sun Mar 15 02:46:47 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Sun Mar 15 02:59:29 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Sun Mar 15 03:02:37 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|



Summary
playwright-automator.mjsreduced from 6534 lines to 290 lines (thin CLI entry point)node --checksyntax validation--helpverified working after splitModule Structure
higgsfield-common.mjshiggsfield-api.mjshiggsfield-image.mjshiggsfield-video.mjshiggsfield-commands.mjsplaywright-automator.mjsAcceptance Criteria
playwright-automator.mjsfile-complexity drops from 1272 to <100 (290 lines, thin dispatcher)node --checkpasses on all new module filesnode playwright-automator.mjs --help) still worksCloses #4905