Agent: file view ENOPRO in non-git folders

Open
#318,972 1 comment 0 reactions 1 assignee View on GitHub

@hediet is already working on this.

Since May 29, 2026.

Assessment

This issue has not been assessed yet.

Description

Version: 1.122.0-insider
Commit: 4459d58b5428c36de656f9241ffd31e2a2118150
Date: 2026-05-28T21:14:22-07:00
Electron: 42.2.0
ElectronBuildId: 14159160
Chromium: 148.0.7778.97
Node.js: 24.15.0
V8: 14.8.178.14-electron.0
OS: Linux x64 6.8.0-117-generic
Steps to Reproduce:

  1. start a session in a folder that is not itself a git repo, but contains a bunch of them
  2. ask the agent to edit some file eg "add an intro to README.md"
  3. look in the files or changes tabs for README.md

expected: README.md shows up (along with all other files) in Files.
actual: the folder is expanded but has no contents. It is golden yellow with an exclamation point and hover shows the error:
Unable to resolve workspace folder (ENOPRO: No file system provider found for resource 'unknown:/')

Ideally, I would like to see the diff in the all changes/turn changes view, but those two are greyed out.

https://github.com/microsoft/vscode/pull/318952 could be related, so this may already be fixed.

Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.