Hey QuantConnect Community,

I wanted to report a potential issue I encountered yesterday and see if others have experienced something similar.

Issue: While working on a feature branch in my organization workspace, I noticed my .git folder disappeared. I discovered this when GitKraken stopped showing my latest changes. It appears the .git folder was synced to the Cloud Platform and somehow got removed during the sync process while I was actively developing.

Environment:

  • QuantConnect VS Code Extension: v0.1.1971
  • VS Code Version: 1.105
  • OS: Windows 11 Pro (Version 10.0.26100 Build 26100)
  • Language: C#
     

Workaround: Fortunately, I didn't lose any work since I made a backup and restored it. Here's what I did to recover:

  1. Made a backup of the organization workspace folder
  2. Removed the organization workspace from VS Code
  3. Pulled the organization again from QuantConnect
  4. Cloned the git repo
  5. Overwrote the files from the backed-up organization workspace files with the latest commit of my git repo

After this, the .git folder was restored and the issue hasn't returned (so far).

Questions:

  • Has anyone else experienced this issue with the VS Code extension?
  • Is the QuantConnect dev team aware of this potential bug?
     

This is the first time this has happened to me, but I wanted to bring it to the community's attention in case others run into the same problem.

Thanks!
Jordy