Skip to content

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

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

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