Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.275 ·

FileHistory backup-copy fallback now uses atomic staged write with integrity check and retry

File-history backup copying now writes atomically with an integrity check and retries on failure

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindBug Fixesin v2.1.275,
You'll notice

File-history backup copying now writes atomically with an integrity check and retries on failure

What

When Claude Code's file-history feature can't create a backup of a session's files by hard-linking (a fast way to duplicate a file without copying its data) and falls back to copying instead, it now writes to a temporary file first, checks that the copied file's size matches the original, and only then renames it into place. If the rename fails, it retries for about 1.5 seconds before giving up, logging a specific message if it's ultimately refused.

Why

This avoids leaving corrupted or incomplete backup files in place if a copy is interrupted or a rename briefly fails, which matters since file history is what lets changes to files be tracked and reviewed.

See this entry in the whole of v2.1.275 →