Corrupted ZIP, no re-download occurs #117169
Labels
author-verification-requested
Issues potentially verifiable by issue author
bug
Issue identified by VS Code Team member as probable bug
extensions
Issues concerning extensions
insiders-released
Patch has been released in VS Code Insiders
verified
Verification succeeded
Milestone
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
Root-cause analysis
The problem is that the invalid file got downloaded and kept in place. I found file
c:\Users\<user>\AppData\Roaming\Code\CachedExtensionVSIXs\ms-python.python-2021.2.582707922
with the following content:This file was re-used while retrying to update the extension. Even after uninstalling and trying to install the extension again the problem persisted.
Invalid downloaded files could be kept after download for investigation, but they should be re-downloaded when trying to update again. Solution could be to rename the downloaded file to something else (add “corrupted” prefix/suffix) when corruption is detected for example.
The text was updated successfully, but these errors were encountered: