“the maintainer's fix prevents cross-process corruption, but does not prevent two saveState() calls within the same process from racing on the shared <file>.tmp name.”

— mjbfg1995, on GitHub · Issue #2782, Relationship to #1637

Quote · github.com

From “worker-daemon.js:saveState() race on a shared .tmp filename”, found 2026-10-14.

Take

The fix for the run-count race introduced a new one: about 56,000 errors in one daemon log. The damage was log noise, not lost data. Fixed by PR #2788.

Tools it’s about