[Bug] Conversation State Lost/Resume Old Plan After VS Code Restart During Compaction
Resolved 💬 3 comments Opened Jan 12, 2026 by laura-dietz Closed Jan 16, 2026
Bug Description
VS Code crashed, it got restarted and seemed to work fine, but upon next compaction it forgot the conversation and resumed a plan that was already finished.
Environment Info
- Platform: linux
- Terminal: vscode
- Version: 2.1.2
- Feedback ID: 5899f9dc-7ce6-47f8-ac0e-e2f5136f3437
Errors
[{"error":"Error: 1P event logging: 182 events failed to export\n at ji1.queueFailedEvents (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:262:2038)\n at async ji1.doExport (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:262:1195)","timestamp":"2026-01-12T03:49:04.891Z"},{"error":"Error: {\"stack\":\"Error: Failed to export 182 events\\n at ji1.doExport (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:262:1297)\",\"message\":\"Failed to export 182 events\",\"name\":\"Error\"}\n at nW0.error (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1823:34862)\n at ic1.error (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:256:10502)\n at file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:256:41527\n at Jb3 (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:256:42073)\n at file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:257:20245","timestamp":"2026-01-12T03:49:04.892Z"},{"error":"Error: 1P event logging: 200 events failed to export\n at ji1.queueFailedEvents (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:262:2038)\n at async ji1.doExport (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:262:1195)","timestamp":"2026-01-12T04:44:56.432Z"},{"error":"Error: {\"stack\":\"Error: Failed to export 200 events\\n at ji1.doExport (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:262:1297)\",\"message\":\"Failed to export 200 events\",\"name\":\"Error\"}\n at nW0.error (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:1823:34862)\n at ic1.error (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:256:10502)\n at file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:256:41527\n at Jb3 (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:256:42073)\n at file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:257:20245","timestamp":"2026-01-12T04:44:56.433Z"},{"error":"Error: Request was aborted.\n at _QA._createMessage (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:496:3157)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)","timestamp":"2026-01-12T05:01:39.045Z"},{"error":"AggregateError\n at G7A.from (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:43:67413)\n at SU.<anonymous> (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:57:10021)\n at SU.emit (node:events:520:35)\n at SU.emit (node:domain:489:12)\n at dL1.<computed> (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:56:3436)\n at ClientRequest.emit (node:events:520:35)\n at ClientRequest.emit (node:domain:489:12)\n at emitErrorEvent (node:_http_client:108:11)\n at TLSSocket.socketErrorListener (node:_http_client:575:5)\n at TLSSocket.emit (node:events:508:28)\n at W$A.request (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:59:2132)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async VP0 (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:4945:4038)","timestamp":"2026-01-12T05:01:41.332Z"},{"error":"Error: 1P event logging: 1 events failed to export\n at ji1.queueFailedEvents (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:262:2038)\n at async ji1.doExport (file:///nix/store/4pmrayd7n1g57yj650sbk8d7ps4ha0bq-claude-code-2.1.2/lib/node_modules/@anthropic-ai/claude-code/cli.js:262:1195)","timestamp":"2026-01-12T05:30:37.553Z"
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗