DataDog/datadog-for-vscode

The extension is causing git warning's in the output panel

Closed this issue · 6 comments

When the datadog extension is enabled, I'm getting a constant stream of warnings:

[warning] Failed to get repository realpath for: "vscode.git.Git". Error: ENOENT: no such file or directory, realpath 'vscode.git.Git'

I have disabled all extensions, and it only happens when the datadog extension is enabled. It seems to only be happening with version 1.5.0 and later.

Thanks for the report, we're on it.

Hi @amandatennent, we would need a little bit more information about your setup in order to reproduce this. It would be nice if you could tell us about:

  • Your OS
  • Specific VS Code version
  • Does this happen in all your repositories?
  • Are you in a remote scenario? (e.g. WSL, Dev Container, CodeSpaces, vscode.dev...)
  • Are you logged in?

For all the git operations, we're leveraging VS Code git support. According to the error your getting, there's a good chance that you have git support disabled.

Please, take a look into your settings and look for git enable. Let us know if you have it disabled. If that's the case, enable that flag and let us know if the problem persists.

image

@amandatennent, we identified the issue and were able to reproduce it. This will get fixed in the next release. Thank you very much for your feedback! 🙌🏻

Has the fix been released? I just found this issue after much searching .....

Not yet, but we expect to make a new release quite soon.

The latest release (v1.11.0) includes the fix. Thanks for bearing with us.

https://marketplace.visualstudio.com/items?itemName=Datadog.datadog-vscode