[Feature Request] Improve code analysis depth for refactoring and duplicate detection across call sites

Resolved 💬 1 comment Opened May 12, 2026 by naman-cff Closed Jun 11, 2026

Bug Description
Right now Claude is working like a junior engineer. I've previously said how its leaving dead code around. and requires a line by line review. Asking it to compare a commit with another commit to review and merge the changes and make those changes efficient - results in only working on the functions brought it. Not exactly how they're called? If any work in them duplicated in the call sites already? especially expensive database read operations - I'm scared you think you can re-write your next gen AI models with this level of Claude Code.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.114
  • Feedback ID: 9728f158-0ea6-43c2-868c-54b506c5ce46

Errors

[{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T17:48:33.225Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T17:48:33.226Z"},{"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-22T19:44:02.704Z"},{"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-22T19:44:02.704Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T20:28:45.021Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T20:28:45.021Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T21:00:00.415Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T21:00:00.415Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T21:39:05.738Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T21:39:05.738Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T22:16:54.080Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T22:16:54.080Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at zF1 (/$bunfs/root/src/entrypoints/cli.js:2749:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-22T23:02:18.672Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at zF1 (/$bunfs/root/src/entry…

Note: Content was truncated.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗