Closed ghost closed 3 years ago
This issue has not been addressed, and now with 1.46 I cannot disable the Microsoft Account extension.
Hey @phgmacedo, this is currently expected behavior. Each window has its own instance of the "extension host" process, so there are multiple copies of each extension. To synchronize state between them, they poll the credential manager to see if another window has signed in/signed out. There is no OS event emitted when the credential manager is updated
@RMacfarlane This is reproducible even with only 1 window open.
And there should be a way to disable it lest having to delete the authentication extension folder. In previous versions it was possible to disable the "Microsoft Authentication" extension so that the CPU usage would not be an issue.
The extension doesn't know how many windows are open, so it will also poll in the 1 window case.
@sandy081 What determines whether a built-in extension appears when querying @builtin
in the extensions viewlet? The "GitHub Authentication" extension shows up there but not "Microsoft Authentication"
The extension doesn't know how many windows are open, so it will also poll in the 1 window case.
@sandy081 What determines whether a built-in extension appears when querying
@builtin
in the extensions viewlet? The "GitHub Authentication" extension shows up there but not "Microsoft Authentication"
@RMacfarlane In 1.45 it was possible to disable, this issue was introduced in 1.46.
@sandy081 What determines whether a built-in extension appears when querying @builtin in the extensions viewlet? The "GitHub Authentication" extension shows up there but not "Microsoft Authentication"
No built in extensions are hidden by default. I see this is not shown but I am seeing it when filter by name in built in extensions say @builtin Mic
I will see why it is not displayed by default and will fix it.
Filed https://github.com/microsoft/vscode/issues/100289 for above issue.
Got 38k of these logs. If this is expected behavior, can you tell a forwarding address where to send all the "important" logging to? Thanks!
I'm currently seeing several of these per-second, which I think is having a knock-on effect to services like Diagnostic Policy Service - blowing out disk, cpu and memory usage. There has to be a better way.
Launching event viewer a couple times a minute, logging a security event, is filling up our logs and also it's incredibly annoying to see the 'hourglass' on the mouse so very often. Disabled those builtin extensions, because setting sync and such is just not worth the annoying hourglass and filling of log.
There are so many logs that only 2 days are logged. So the RDP login event has been cleared. Is there any other way?
Closing, as we no longer poll the credential manager in VS Code version 1.50.1, so this should be fixed. Thanks!
I'm seeing a large number of security events on Event viewer:
Looking at the logs for these events, it seems to be caused by vscode:
When I turned off the Microsoft Account and GitHub Authentication extensions, the problems seems to go away.
Is this expected behavior? It seems that vs code keeps polling the windows credential manager entries, and this causes an increase in cpu usage, and it also fills up the event viewer.
I have attached a log of one of the events: