Skip to content

Any in teraction on huge repo (e.g. Linux kernel) triggers a repo scan #5529

Description

@sfavazza

Issue

While working with the Linux kernel I have noticed that on each request, aider always starts a repo-scan, which takes around 20 min!

On the first request this might still be acceptable, but on every request makes it unusable. I did not experienced this with smaller repo.

Could it be that the repo is so huge that a scan fills up the context and aider thinks it has to repeat the process as it does not have the whole picture of the project is working on?

Any workaround is appreciated (is disabling the repo-scan a good move? what is the disadvantage?).

Version and model info

Aider: aider 0.86.2
Model: github_copilot/claude-sonnet-5
Git repo: linux-kernel
Repo-map: 1,112 tokens after the long scan completed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions