an0rak-dev / vscode-gcp-cloudbuild

[LOOKING FOR A NEW MAINTAINER] Add GCP CloudBuild support in VSCode
Apache License 2.0
2 stars 1 forks source link

Project without CloudBuild api enabled cause infinite loop of creating python.exe #18

Open Mistic92 opened 4 years ago

Mistic92 commented 4 years ago

Environment: VSCode version: 1.43.1 OS: win32

Description: My laptop got blue screen two times. Then I started monitoring what's going on and I saw dozens of python.exe process in regular process explorer. I downloaded advanced one for windows and I saw that all of them are related to vscode. After opening vscode process explorer I saw that extension is trying to do connection to cloud builder and open new python process every second.

An hour ago I switched to new project where I have cloud build disabled. After enabling this api issue stopped. https://twitter.com/lukaszbyjos/status/1241750725866160129 https://drive.google.com/file/d/1mobzgLeXqy_4WkuSvjJP6WEgIrzBjZoj/view?usp=sharing https://drive.google.com/file/d/1in0C4mw989SQ5EqikqZoRHmMWPdZxCdW/view?usp=sharing

When I have disabled this extension problem was resolved.

Repro step:

Switch gcloud project to new one without cloud builder api enabled. Open yaml file with k8s config.

an0rak-dev commented 4 years ago

Hey @Mistic92 !

Thanks for your bug report. This might be due to the fact that this extension calls an external gcloud process each time to check the validity of the CloudBuild.

I'm working on a new version which use API calls only, which fix this issue and I'll keep you in touch when the new version will be deployed !