[Bug] Conversation compacting hangs indefinitely during token reduction and uses huge tokens
Status Open
Reported on v2.1.233
Maintainer reply None cached
Activity 0 comments · opened Aug 18, 2026
Bug Description
Compacting is regularly getting stuck for hours on end:
- Compacting conversation… (4h 6m 2s · ↓ 829.9k tokens)
▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱ 40
No mention of session being too long so I don't believe this is a duplicate of those bug reports. Just regular hangs when compacting.
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.233
- Feedback ID: d6f6233a-a2f7-473f-8b58-be52a0a07ee6
Errors
[{"error":"TelemetrySafeError: VirtualMessageList: itemKeys/messages length desync (keys=106 messages=105 range=[70,106))\n at AGE (B:/~BUN/root/cli:22830:33325)\n at Vuh (B:/~BUN/root/cli:22830:26297)\n at ko (B:/~BUN/root/cli:13184:21380)\n at fs (B:/~BUN/root/cli:13184:40481)\n at Xu (B:/~BUN/root/cli:13184:51405)\n at lCe (B:/~BUN/root/cli:13184:89090)\n at FSe (B:/~BUN/root/cli:13184:88039)\n at $Se (B:/~BUN/root/cli:13184:87858)\n at IC (B:/~BUN/root/cli:13184:84117)\n at et (B:/~BUN/root/cli:13184:6675)","timestamp":"2026-08-17T18:57:49.584Z"}]