Claude Discovery

← All discoveries

Retro Apple computers with keyboards displayed in a Tokyo store window, showcasing early tech design.
Photo by Derek Xing on Pexels
tool

Claude Code 2.1.216 Fixes Quadratic Slowdown in Long Sessions

2026-07-21 ยท source:

Claude Code 2.1.216 fixes a bug where message normalization cost grew quadratically with turn count, causing multi-second stalls and slow resumes in long sessions.

What it is

The latest patch release of Claude Code, Anthropic's CLI coding agent, following closely on the heels of 2.1.215.

What it does

It fixes message normalization that scaled quadratically with the number of turns in a session, which was causing multi-second stalls and slow resumes on long-running conversations. It also adds a sandbox.filesystem.disabled setting to skip filesystem isolation while keeping network egress control, fixes auto mode wrongly denying commands after an OAuth token rotated mid-session, and stops AskUserQuestion from telling Claude to continue when a free-text answer actually asked it to wait or explain.

Why it matters

Anyone running Claude Code for hours on the same task was quietly eating an ever-growing tax on every turn. This is the kind of fix that makes long agentic sessions actually usable instead of degrading into molasses the longer you work.

How to use it

Update via your normal Claude Code update path; the fix is automatic, no config needed. If you want to skip filesystem sandboxing while still enforcing network controls, set sandbox.filesystem.disabled in your settings.

Go to source →
claude-codeperformancebugfix