[Bug] 20% of session was lost after context compact operation

Resolved 💬 3 comments Opened Apr 5, 2026 by Sotty75 Closed May 16, 2026

Bug Description
lost 20% of my session usage after a compact operation

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.92
  • Feedback ID: cab4d63c-a79c-46ec-be22-6dfaf909e58a

Errors

[{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\sotgi\\AppData\\Local\\Temp\\claude\\E--Coding-blog\\81d20448-c120-4c65-af64-7bb545377126\\tasks\\a3811b7e0bba8abf4.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7544:299)","timestamp":"2026-04-05T10:38:18.295Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\sotgi\\AppData\\Local\\Temp\\claude\\E--Coding-blog\\81d20448-c120-4c65-af64-7bb545377126\\tasks\\a94f2b848c7d644fe.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7544:299)","timestamp":"2026-04-05T10:38:22.423Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\sotgi\\AppData\\Local\\Temp\\claude\\E--Coding-blog\\81d20448-c120-4c65-af64-7bb545377126\\tasks\\a4a3d9a14ebd6d18b.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7544:299)","timestamp":"2026-04-05T10:39:59.245Z"},{"error":"Error: ripgrep exited with code null\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:556:2676)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:778:16)\n    at #handleOnExit (node:child_process:532:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T10:40:42.733Z"},{"error":"RipgrepTimeoutError: Ripgrep search timed out after 20 seconds. The search may have matched files but did not complete in time. Try searching a more specific path or pattern.\n    at f (B:/~BUN/root/src/entrypoints/cli.js:559:242)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:559:456)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:556:2747)\n    at emit (node:events:98:22)\n    at #maybeClose (node:child_process:778:16)\n    at #handleOnExit (node:child_process:532:72)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T10:40:42.733Z"},{"error":"unK: Diagnostics file path mismatch: expected C:\\Users\\sotgi\\.claude\\plans\\polished-rolling-chipmunk.md, got file://c:\\users\\sotgi\\.claude\\plans\\polished-rolling-chipmunk.md/)\n    at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:2017:15911)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T10:43:08.031Z"},{"error":"unK: Diagnostics file path mismatch: expected E:\\Coding\\blog\\src\\lib\\db.ts, got file://e:\\coding\\blog\\src\\lib\\db.ts/)\n    at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:2017:15911)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T11:08:04.393Z"},{"error":"unK: Diagnostics file path mismatch: expected E:\\Coding\\blog\\src\\pages\\api\\login.ts, got file://e:\\coding\\blog\\src\\pages\\api\\login.ts/)\n    at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:2017:15911)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T11:08:10.966Z"},{"error":"unK: Diagnostics file path mismatch: expected E:\\Coding\\blog\\Dockerfile, got file://e:\\coding\\blog\\dockerfile/)\n    at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:2017:15911)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T11:08:19.076Z"},{"error":"unK: Diagnostics file path mismatch: expected E:\\Coding\\blog\\.dockerignore, got file://e:\\coding\\blog\\.dockerignore/)\n    at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:2017:15911)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T11:08:22.514Z"},{"error":"unK: Diagnostics file path mismatch: expected E:\\AI\\re-source\\docker-compose.prod.yml, got file://e:\\ai\\re-source\\docker-compose.prod.yml/)\n    at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:2017:15911)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T11:09:13.090Z"},{"error":"unK: Diagnostics file path mismatch: expected E:\\AI\\re-source\\docker-compose.prod.yml, got file://e:\\ai\\re-source\\docker-compose.prod.yml/)\n    at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:2017:15911)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T11:09:18.980Z"},{"error":"unK: Diagnostics file path mismatch: expected E:\\AI\\re-source\\docker-compose.prod.yml, got file://e:\\ai\\re-source\\docker-compose.prod.yml/)\n    at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:2017:15911)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-05T11:09:22.429Z"},{"error":"unK: Diagnostics file path mismatch: expected E:\\AI\\re-source\\Caddyfile, got file://e:\\ai\\re-source\\caddyfile/)\n    at beforeFileEdited (B:/~BUN/root/src/entrypoints/cli.js:2017:15911)…

Note: Content was truncated.

View original on GitHub ↗

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