You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
v11: clean up stale download-* and tarball-* spill directories in the store #109
pnpm/pnpm#16613 spills tarball downloads and large archive entries over 64 MiB into <storeDir>/download-* and <storeDir>/tarball-* directories created with mkdtemp. They are removed in finally blocks, but a killed process (SIGKILL, OOM, power loss) leaves them behind. Because the names are random, a later run never reuses or overwrites them, so they accumulate.
Proposal: have pnpm store prune (or the start of an install) remove download-* and tarball-* directories under the store root that are older than a safe age, so directories in use by a concurrent install are kept.
Opened pnpm/pnpm#16620 to cover this task. pnpm store prune now removes download-* and tarball-* directories when both the directory and its files are older than 24 hours, while preserving recent writes, symlinks, and unrelated entries. The PR includes regression tests and documentation. CI is running on the draft.
Activity
zkochan commentedon Oct 5, 2026
Opened pnpm/pnpm#16620 to cover this task.
pnpm store prunenow removesdownload-*andtarball-*directories when both the directory and its files are older than 24 hours, while preserving recent writes, symlinks, and unrelated entries. The PR includes regression tests and documentation. CI is running on the draft.Written by an agent (Codex, GPT-6).
fix: prune stale download and tarball spill directories (pnpm#16620)