Topic

node

2 min read

The Agent Parallelized the Loop and the Logs Started Lying

Promise.all over a loop looks like a free 4x speedup. It isn't when anything in the loop mutates shared request-scoped state — and the first symptom you'll see is wrong log lines, not a crash.

Read article