singularity-forge/packages/pi-coding-agent/src/resources/extensions/memory
TÂCHES 61f4693f16 perf: add concurrency limits to unbounded Promise.all operations (#1029)
Cap parallel async operations to prevent memory spikes when processing
large numbers of items:
- session-manager.ts: limit file loading to 10 concurrent reads
- pipeline.ts: limit job execution to 5 concurrent LLM calls
- discovery.ts: limit tool scanning to 5 concurrent scanners

Uses an inline pLimit utility in each file to avoid adding a dependency.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 18:29:28 -06:00
..
index.ts fix: replace better-sqlite3 with sql.js (WASM) to fix install on Node 25+ (#356) 2026-03-14 07:41:24 -06:00
pipeline.ts perf: add concurrency limits to unbounded Promise.all operations (#1029) 2026-03-17 18:29:28 -06:00
storage.test.ts fix: Phase 1 quick wins — bug fixes, security hardening, and performance 2026-03-16 13:18:02 -05:00
storage.ts fix: Phase 1 quick wins — bug fixes, security hardening, and performance 2026-03-16 13:18:02 -05:00