Skip to content

loading ms-python extension in offline mode too slow #4495

Closed as not planned
Closed as not planned
@ailifeng

Description

@ailifeng

OS/Web Information

  • Web Browser: Chrome, Firefox
  • Local OS: Ubuntu
  • Remote OS: Ubuntu
  • Remote Architecture: Docker Container, No internet
  • code-server --version: 3.11.1

Steps to Reproduce

Expected

My docker container doesn't have Internet. The code-server can start properly. I expect loading ms-python extension (which has been installed offline) can complete in 20 seconds in version 3.11.1.

Actual

While activating the ms-python extension, it takes more than 2 minutes.

My script to start code-server is below:

/usr/lib/code-server/lib/node /usr/lib/code-server --auth none --bind-addr localhost:8089 --log trace --extensions-dir ./vscode-data/extensions

Logs

Screenshot

image

Notes

This issue can be reproduced in VS Code: Yes/No

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstream:vscodeNeeds to be fixed upstream in VSCode

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions