Skip to content

Extension is sometimes corrupted when upgrading/installing #100537

@Colengms

Description

@Colengms

Version: 1.47.0-insider (user setup)
Commit: 84f52fe
Date: 2020-06-17T06:43:38.511Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041

I do not have a reliable repro for this, but we have had numerous bug reports from users of the C/C++ Extension of failures that appear to be due to files missing from the extension's directory. Re-installation of the extension addresses the issue. Reports of this issue have recently become common. I have now repro'ed a similar issue myself. It appears that VS Code Insiders failed to fully extract all files from a vsix while applying an update of our extension from the marketplace. After repro'ing failures trying to use the extension, I moved the installation directory, reinstalled the extension, and compared the directories. All files were present in the newly installed directory, but various files (that are present in the vsix) were missing from the prior directory.

I was not monitoring the progress of updating the extension, so I do not know for sure, but I suspect the issue may be due to having terminated VS Code Insiders while it was still in the process of apply the update.

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions