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.269 ·

New try/finally cleanup around pushing user and compact-boundary messages

Appending user or compact-boundary messages mid-turn now always runs a cleanup step, even on error

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaCompactionwhat it touches
KindBug Fixesin v2.1.269,
Under the hood

Appending user or compact-boundary messages mid-turn now always runs a cleanup step, even on error

What

When Claude Code adds a user message or a compact_boundary marker (used when a conversation is compacted, or shortened, to save space) to the ongoing conversation, that step is now wrapped so a cleanup function always runs afterward, even if something goes wrong partway through.

Why

This guards against internal state being left inconsistent if an error occurs while recording one of these messages.

See this entry in the whole of v2.1.269 →