Skip to content

fix(detect_changes): impacted_symbols always empty for projects inside git worktrees #690

Closed as not planned

Description

@lg320531124

Bug

detect_changes returns an empty impacted_symbols array for projects that reside inside git worktrees. The change detection itself may work (detecting which files changed), but the downstream symbol-impact analysis fails to resolve the symbols.

Possible cause

Git worktrees have a .git file instead of a .git/ directory. If the change detector resolves the git dir by reading the worktree pointer but the symbol resolver treats .git as a regular directory, the git metadata lookup fails silently and returns empty results.

Related

Activity

  1. added a commit that references this issue on Jun 29, 2026
    58ce88c
  2. added
    priority/normalStandard review queue; useful PR with ordinary maintainer urgency.
    on Jun 30, 2026
  3. added 2 commits that reference this issue on Jul 1, 2026
    8fbcd5d
    cc8344a
  4. added
    duplicateThis issue or pull request already exists
    ux/behaviorDisplay bugs, docs, adoption UX
    on Jul 1, 2026
  5. github-actions commented on Jul 1, 2026

    @github-actions

    Thanks for raising this! It looks like a duplicate of an existing issue — the canonical one is linked above. Continuing the discussion there keeps everything in one place. We leave this open for visibility; a maintainer will close it once it's fully covered.

  6. DeusData commented on Jul 1, 2026

    @DeusData
    Owner

    Thanks for writing this up. This duplicates #659, which is the canonical detect_changes worktree impacted-symbols issue. The corresponding fix PR is #672, so I am closing this duplicate and keeping status on the canonical tracker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already existspriority/normalStandard review queue; useful PR with ordinary maintainer urgency.ux/behaviorDisplay bugs, docs, adoption UX

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions