[BUG] Internal compacting/summarization process hung indefinitely

Resolved 💬 6 comments Opened Jun 26, 2025 by mhcoen Closed Aug 21, 2025

Environment

  • Platform (select one):
  • [x] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.35 (Claude Code)
  • Operating System: macOS (Darwin 24.5.0)
  • Terminal: Claude Code interface

Bug Description

Internal compacting/summarization process hung indefinitely, consuming entire Opus
usage quota without user interaction or actual conversation progress.

Steps to Reproduce

  1. Had a long conversation about code refactoring and bug fixes prior to the 5-usage reset and the compacting mentioned in 2 & 3.
  2. System initiated internal compacting/summarization process shortly after the reset.
  3. Compacting process hung and consumed tokens continuously
  4. User eventually interrupted compacting manually with ctrl-c
  5. User's entire Opus usage quota for the period was depleted according to the user-interface.

Expected Behavior

Internal compacting should complete quickly without consuming significant tokens,
or fail gracefully with an error message.

Actual Behavior

Compacting process hung indefinitely, continuously consuming Opus tokens until the
user's entire usage quota was exhausted. No error message or timeout occurred.

Additional Context

  • This was a system-internal process failure, not related to user code or actions
  • The conversation was about debugging Python CLI code (episodic project)
  • User reports: "Your internal compacting is what hung. it had nothing to with my

code and consumed all my usage for this period"

  • Date: 2025-06-26
  • Request: Restoration of consumed Opus usage quota

View original on GitHub ↗

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