chore(build): remove unused asyncPool helper - #306
Conversation
Why: Production code already uses Effect.forEach concurrency; asyncPool was dead surface with only its own tests. What: Delete asyncPool.ts and its tests; retarget CODE-STYLE concurrency example; refresh generated test counts in docs. Impact: Fewer tests (asyncPool suite gone); no runtime behavior change.
🤖 CodeAnt AI — Review Status
|
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
|
Warning Review limit reached
Next review available in: 59 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. 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 (14)
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 |
PR Summary by QodoRemove dead asyncPool helper and refresh concurrency/docs references
AI Description
Diagram
High-Level Assessment
Files changed (12)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTo customize comments, go to the Qodo configuration screen, or learn more in the docs. |
Summary
asyncPool.tsand its dedicated tests (production already usesEffect.forEachconcurrency).plan/orchestrator.ts.Review focus
Slice of finding 11: remove dead concurrency helper; no runtime callers.
Test plan
runPooledWorkersimportsSummary by cubic
Remove unused async concurrency helper and its tests. Updated the code-style example to reflect
Effect.forEachand synced test count badges; no runtime changes.src/core/build/asyncPool.tsandsrc/core/build/asyncPool.test.ts(no callers;Effect.forEachalready used in production).CODE-STYLE.mdtosrc/core/plan/orchestrator.ts.docs/commands.md, andllms.txt(2064 → 2056).Written for commit dabd682. Summary will update on new commits.