[Bug] Unintended git reset --hard executed without user confirmation
Status Closed — not planned
Reported on v2.1.114
Maintainer reply None cached
Activity 2 comments · opened Apr 22, 2026 · closed May 29, 2026
Bug Description
Well you can see it here. It runied a lot of work by doing a git reset --hard on my worktree without asking..... Tons of creative code work done and a waste of my tokens. Really sad about this
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.114
- Feedback ID: 5918da7b-1b73-472a-8d9f-30679781fdb5
Errors
[{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T17:54:49.914Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T21:37:00.065Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T21:37:00.066Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T22:53:09.265Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-20T22:53:09.266Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T00:03:07.919Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T00:03:07.920Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T02:27:45.515Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T02:27:45.516Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T04:23:03.681Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T04:23:03.681Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:25:43.705Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T05:25:43.706Z"},{"error":"Error: console.error: [bun] Warning: ws.WebSocket 'unexpected-response' event is not implemented in bun\n at K (/$bunfs/root/src/entrypoints/cli.js:525:11889)\n at emitWarning (ws:43:42)\n at #onOrOnce (ws:170:18)\n at Dr_ (/$bunfs/root/src/entrypoints/cli.js:3832:4680)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-21T06:14:59.07…
Note: Content was truncated.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗