Skip to content

Prompted for permission at every subdirectory, plus incorrect errors #261

@MattGertz

Description

@MattGertz

Describe the bug

Issued the command "illustrate the directory layout of this project" after allowing permissions on the current directory. For every subdirectory it encountered, I got a permission request -- and there were a lot of subdirectories and so a lot of requests to approve. It seems to me that these should be batched. During this, I also kept getting incorrect error messages like:

● I'll explore the project directory structure to provide you with a comprehensive
illustration.

✗ Read /c:/Users/mattge/Source/Repos/EuchreTest
Path does not exist

And yet it does exist and Github Copilot is able to investigate it correctly, so it's a false negative. This is seen for every subdirectory as well.

Affected version

0.0.337 Commit: 905260d

Steps to reproduce the behavior

Open powershell on Windows, navigate to a repo with lots of subdirectories.
Start copilot, give permissions for the current directory
Issue the command "illustrate the directory layout of this project"
== get a false and ignored error that the current directory and any encountered subdirectory does not exist, and then asks permissions to use the subdirectory anyway, for each subdirectory

Expected behavior

No false errors, and one prompt that asks for permission a priori for any subdirectory it may encounter.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions