fix(queue): consolidate duplicate mapWithConcurrency helpers#6720
fix(queue): consolidate duplicate mapWithConcurrency helpers#6720RealDiligent wants to merge 2 commits into
Conversation
Delegate focus-manifest and patchless-secret-scan wrappers to the canonical map-with-concurrency helper so the worker-pool loop cannot drift. Closes JSONbored#6602 Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6720 +/- ##
=======================================
Coverage ? 95.87%
=======================================
Files ? 599
Lines ? 47536
Branches ? 15070
=======================================
Hits ? 45575
Misses ? 1163
Partials ? 798
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Caution 🛑 LoopOver review result - reject/close recommendedReview updated: 2026-07-17 00:07:36 UTC
Review summary Blockers
Nits — 5 non-blocking
Why this is blocked
📋 Copy for AI agents — paste into your coding agentDecision drivers
Context & advisory signals — never blocks the verdict
Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
Pushed a follow-up that removes duplicate |
Overlapping merges left the same two imports twice; TypeScript fails validate-code on main without this. Co-authored-by: Cursor <cursoragent@cursor.com>
|
LoopOver is closing this pull request on the maintainer's behalf (AI reviewers agree on a likely critical defect: src/api/routes.ts:194-196 drops the buildFindingTaxonomyDocument and buildEnrichmentAnalyzersTaxonomyDocument imports with zero mention in the PR description (which only claims a mapWithConcurrency consolidation) — if either symbol is still referenced later in routes.ts this is a ReferenceError at runtime/build time, and the CI FAILED status on validate/validate-code/all validate-tests shards is consistent with exactly that breakage; confirm no remaining call sites before merging or drop this unrelated hunk from the PR.). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Summary
mapWithConcurrencyLimitandmapPatchLessSecretScanFilesWithConcurrencyto the canonicalmapWithConcurrencyhelper so the bounded-concurrency worker-pool loop lives in one place.Closes #6602
Test plan
patchless-secret-scan/ focus-manifest / processors suites pass