claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Context tracking not updated after compression/compact commands

Open RRaffay opened this issue 1 month ago • 1 comments

Bug Description The context tracking in the new status line does not seem to account for compressions/ compact commands, instead it keeps appending showing context reach over 100%

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.0.65
  • Feedback ID: 3c4a9aa8-0741-4a97-8252-660c0fb02fa4

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/ranaraffay/.local/share/claude/versions/2.0.62 (expected in multi-process scenarios)\n    at fjB (/$bunfs/root/claude:2597:1618)\n    at XAA (/$bunfs/root/claude:2595:35624)\n    at async LAA (/$bunfs/root/claude:2597:3428)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T18:04:26.320Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/ranaraffay/.local/share/claude/versions/2.0.64 (expected in multi-process scenarios)\n    at fjB (/$bunfs/root/claude:2597:1618)\n    at XAA (/$bunfs/root/claude:2595:35624)\n    at async LAA (/$bunfs/root/claude:2597:3428)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T18:04:26.360Z"},{"error":"SyntaxError: JSON Parse error: Unable to parse JSON string\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:63:729)\n    at A (/$bunfs/root/claude:11:6895)\n    at W4B (/$bunfs/root/claude:1361:3172)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T18:25:44.879Z"},{"error":"MaxFileReadTokenExceededError: File content (29561 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at F4B (/$bunfs/root/claude:1371:10587)\n    at async call (/$bunfs/root/claude:1380:972)\n    at async TT1 (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T19:03:26.015Z"},{"error":"Error: 1P event logging: 52 events failed to export\n    at queueFailedEvents (/$bunfs/root/claude:289:35104)\n    at doExport (/$bunfs/root/claude:289:34215)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T19:04:17.779Z"},{"error":"Error: {\"message\":\"Failed to export 52 events\",\"originalLine\":\"289\",\"originalColumn\":\"34293\",\"line\":\"289\",\"column\":\"34293\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 52 events\\n    at doExport (/$bunfs/root/claude:289:34293)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:785:25179)\n    at <anonymous> (/$bunfs/root/claude:288:83089)\n    at hU0 (/$bunfs/root/claude:288:83633)\n    at <anonymous> (/$bunfs/root/claude:289:17131)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T19:04:17.780Z"},{"error":"Error: ### Result\nError: Ref e252 not found in the current page snapshot. Try capturing new snapshot.\n\n    at uXB (/$bunfs/root/claude:1484:37361)\n    at async call (/$bunfs/root/claude:1484:48468)\n    at async TT1 (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T20:00:42.237Z"},{"error":"Error: Request was aborted.\n    at _createMessage (/$bunfs/root/claude:129:3151)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T20:01:11.894Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readFileSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:500)\n    at k6 (/$bunfs/root/claude:11:8378)\n    at readFileSync (/$bunfs/root/claude:12:465)\n    at z4B (/$bunfs/root/claude:4296:16966)\n    at call (/$bunfs/root/claude:1380:912)\n    at call (/$bunfs/root/claude:1376:6141)\n    at TT1 (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T20:06:18.375Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readFileSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:500)\n    at k6 (/$bunfs/root/claude:11:8378)\n    at readFileSync (/$bunfs/root/claude:12:465)\n    at z4B (/$bunfs/root/claude:4296:16966)\n    at call (/$bunfs/root/claude:1380:912)\n    at call (/$bunfs/root/claude:1376:6141)\n    at TT1 (/$bunfs/root/claude:2898:24938)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T20:06:54.382Z"},{"error":"MaxFileReadTokenExceededError: File content (25174 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at F4B (/$bunfs/root/claude:1371:10587)\n    at async call (/$bunfs/root/claude:1380:972)\n    at async <anonym

Note: Error logs were truncated.

RRaffay avatar Dec 12 '25 22:12 RRaffay

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/13766
  2. https://github.com/anthropics/claude-code/issues/13783
  3. https://github.com/anthropics/claude-code/issues/13765

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 12 '25 22:12 github-actions[bot]

This issue has been automatically closed as a duplicate of #13766.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 16 '25 09:12 github-actions[bot]