[BUG] Why is the /compact command so slow?

Resolved 💬 3 comments Opened May 14, 2026 by Baiyuetribe Closed Jun 15, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

<img width="487" height="121" alt="Image" src="https://github.com/user-attachments/assets/d4bb44e8-62aa-4187-8f8f-6c841b76b73f" />

What Should Happen?

It usually takes a few seconds to complete.

Error Messages/Logs

Steps to Reproduce

open claude,then
/compact

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.141 (Claude Code)

Platform

Other

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗