Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test downloading extension VSIXs to a cached folder #2842

Closed
2 tasks done
sandy081 opened this issue Apr 27, 2020 · 1 comment
Closed
2 tasks done

Test downloading extension VSIXs to a cached folder #2842

sandy081 opened this issue Apr 27, 2020 · 1 comment

Comments

@sandy081
Copy link
Member

sandy081 commented Apr 27, 2020

Ref - #2227

Complexity: 3


  1. Start code with arg --extensions-download-dir and providing a path for downloading extension VSIXs
  2. Go to extension view and install an extension
  3. Make sure that VSIX is downloaded to above provided directory
  4. Uninstall the extension, and also go to Extensions Folder using command Extensions: Open Extensions Folder and delete the extension (This is to make sure that extension is downloaded again).
  5. Install the extension again.
  6. Make sure that downloaded VSIX is used. You can test that by making sure that there is no request to Marketplace for the VSIX. To test that,
  • Open shared process (Developer: Toggle Shared Process) and go to networks tab
  • There is no request to Marketplace to download VSIX Eg: https://........../Microsoft.VisualStudio.Services.VSIXPackage
  1. Delete the downloaded VSIX in the above pointed directory and follow steps 4 & 5.
  2. Make sure that VSIX is downloaded again to the above pointed directory.
  3. Make sure that we cache only recent 20 VSIXs.
  • Use extension packs with many extensions to install or uninstall bunch of extensions
  • Clean up is done when code is started. So you have to restart for clean up to kick off.
@chrmarti
Copy link
Contributor

Works well!

@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants