chore: p3 cleanup — stale TODOs, boilerplate, package meta#204
Conversation
- Extract startSpinner() to shared.ts: wires SIGINT → exit 130 and starts the spinner in one call; removes the identical 2-line block from all 4 commands (scan, migrate, validate, audit) - Remove stale TODO v0.3 from config.ts (git-based staleness is a v2 item) - Replace bulk-inventory TODO in scanner/index.ts with a note pointing to the existing migrator enforcement (safelyAutomatable: false) - Add 2-line comment above pLimit(50) explaining the concurrency choice - package.json: author → name/email/url object; add feature-toggle, flag-cleanup, tech-debt keywords Signed-off-by: Krishan Kant Sharma <krishansharma0327@gmail.com>
|
Warning Review limit reached
Next review available in: 49 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (8)
✨ 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 |
Signed-off-by: Krishan Kant Sharma <krishansharma0327@gmail.com>
Changes
Boilerplate reduction
startSpinner(text)toshared.ts— creates spinner, wiresSIGINT → exit 130, returns the spinnerscan,migrate,validate,audit) replaced their identical 2-linecreateSpinner().start()+process.once("SIGINT", ...)block with a singlestartSpinner()callStale TODO removal
config.ts— removedTODO v0.3: replace minFileCount with git log(git-based staleness is a post-v1 item, not tracked here)scanner/index.ts— replaced bulk-inventory TODO with a factual note: enforcement already exists in the migrator (safelyAutomatable: false,manualReviewReason: "bulk-inventory-call")pLimit documentation
pLimit(50)explaining the concurrency choice and its CPU vs I/O trade-offpackage.json
author:"flaglint"→{ name, email, url }object (npm ecosystem standard)keywords: addedfeature-toggle,flag-cleanup,tech-debtTest plan