vscode: Git: Extension vscode.git CANNOT use API proposal: telemetry.

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.86
  • OS Version: MacOS 14.3

Steps to Reproduce:

  1. any commit to git brings a popup with “Git: Extension vscode.git CANNOT use API proposal: telemetry.”
  2. after this popup it’s impossible to push the commit to remote. The only way to publish is to create a new branch.
  3. @builtin @id:vscode.git shows just the build-in v1.0

I also tried to uninstall all plugins (even if I have not installed any new ones for a couple of weeks) and the error happens again.

What can I do to make it work again?

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Reactions: 6
  • Comments: 35 (11 by maintainers)

Most upvoted comments

Please can somebody explain simple and step-by-step what to do to solve the issue? I don’t understand it.

Thx!

If you somehow checked out your git repo to a detached head condition, then this issue may be resolved in #202387

If you are NOT using a detached head git repo, please comment here or on #202387

I think another issue is needed.

Also facing this issue and no custom extensions. Even if there were, breaking the entire experience for the sake of telemetry is insane.

@cameronelliott, one thing we could try since you are able to consistently reproduce the issue is:

  1. Open the developer tools (Developer: Toggle Developer Tools command)
  2. Switch to the “Sources” tab
  3. In the left pane locate the following file: https://ticino.blob.core.windows.net/sourcemaps/bcf9b4ff0ff453a72d01f4bceaea05e166f347c6/core/vs/workbench/out-vscode/vs/workbench/file:/mnt/vss/_work/1/s/src/vs/workbench/services/extensions/common/extensions.ts
  4. Open the file and search for “CANNOT use API proposal”
  5. Place a breakpoint on this line
  6. Reproduce the issue and hopefully you hit the breakpoint
  7. Expand the call stack on the right hand side and share that

@lszomoru This is helpful, thanks! I will give this a shot. I was not using detached head, so any fixes solely for detached head, will not fix this issue for me, and possibly others.

@cameronelliott, never mind. I have a repro and I am debugging the issue now.

The vscode.git extension does not use the telemetry API proposal so what I am suspecting is that an error occurs and VS Code looks at the stack trace of the exception and incorrectly puts the blame on the vscode.git extension. Any of you that experiences this issue, could you check the developer console using the “Developer: Toggle Developer Tools” command and share any errors that you might see there.

I also tried to uninstall all plugins FYI in future the Start Extension Bisect option may be an easier approach.

Also the “Report Issue” command will provide version info in a format that doesn’t upset the bot.

1.86.0

I’m using the latest version! 1.86 = 1.86.0