You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Auto-UpdaterArea: what it touches
Bug FixesKind: in v2.1.318,
Bug FixesSection of the release
Unclear It is not clear on which operating systems the per-process lock is written.
What
Claude Code deletes old versions of itself from your computer from time to time. Before it does, it now reads the folder of lock files. A lock file is a small marker a running copy of Claude Code leaves to say a version is in use. If that folder cannot be read, Claude Code skips the cleanup and logs "Skipping version cleanup: could not read the locks, so lock protection is unavailable". Previously each version was checked one at a time.
Each running copy of Claude Code can also now write a lock tied to its own process ID, the number your operating system gives a running program.
Why
This stops Claude Code from deleting a version that another open copy of Claude Code is still running.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear on which operating systems the per-process lock is written.