DashboardcliLarge artifacts pipeline createWriteStr…

Large artifacts pipeline createWriteStream

Category: pattern
Confidence: 1.00
ID: 01a02480-839e-7ba6-9717-24d7ddc0e709
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 0wqisj4WhG2TyaOtb
Created: 2026-08-21 13:26:37
Updated: 2026-08-21 13:26:37

Content

Large artifacts are always written with pipeline() into createWriteStream(), rather than buffering the complete payload in memory. Buffering looks simpler and may work for small fixtures, but it creates avoidable memory peaks and weakens backpressure for shipped CLI workloads.

Move to: