Skip to content

Claude Code

Claude Code stops showing failed tests as passed

3 min read

Written by an AI model from the linked sources and checked against them by a second model. How we work

All about: Claude Code versions and changes →

Claude Code 2.1.334 is out, and like the last few releases it is a very long list made up almost entirely of fixes. A few of them matter to anyone who lets Claude write, run and check code. One change also alters how soon long conversations get summarized on the biggest models.

Fixes that could mislead you

In the new look of the VS Code extension, failed tests, builds, type checks and linters were shown as passed if their output was piped through a command such as head or tail. Claude often trims long output that way, so a failing build could look like a clean one in the chat. That is fixed.

The second fix concerns worktrees, the separate working copies of a repository that Claude can work in. Resuming a worktree with no changes could drop an unpushed commit that only its branch still had. Worktrees also no longer start from the wrong branch after Claude moves into another repository.

One fix changes behaviour quietly. Some models don’t accept having thinking turned off, and requests to them used to fail. Claude Code now resends such requests without that setting, which means the model may think on those requests even though you turned thinking off.

Earlier summaries on big models

When a conversation gets close to its limit, Claude Code compacts it automatically: it summarizes the history and carries on from the summary, so a full window never ends the session. The auto-compact window is how full the context may get before that happens.

On most current models with a 1M-token context, the default now sits near 400K tokens, including in -p and SDK runs. Anthropic says the change is still rolling out; it is already on for people using third-party providers or with telemetry off. A new Auto-compact window row in /config shows the size and lets you change it.

A smaller window can save money. As a Claude Code guide explains, every turn resends the whole conversation, so the tokens a session burns grow with the size of the context times the number of turns. The guide says /autocompact sets your own window and /autocompact auto returns to the one tuned for the model. Claude Code itself warns that overriding the automatic setting “may result in high token usage, especially when resuming long sessions.”

The release also stops needless compaction, and a false “Prompt is too long” error, after a reply hit the output limit before writing any text.

Code review follows folder rules

In the previous release, a local /code-review learned to read the REVIEW.md file at the root of the repository’s default branch. Now local reviews also follow REVIEW.md files in the folders above a committed change, so rules can sit in a subfolder as well as at the top of the project.

Join the conversation

Sign in to leave a comment. It appears after moderation.