Skip to content

Extension details takes a long time to load when using code-server --link #3889

@facundomedica

Description

@facundomedica

OS/Web Information

  • Web Browser: Brave Browser or Safari
  • Local OS: MacOs Big Sur
  • Remote OS: Ubuntu 20.04.2 LTS (running on GCP with around 80ms of ping to the server)
  • Remote Architecture: x86_64
  • code-server --version: 3.11.0 4e8cd09ef0412dfc7b148b7639a692e20e4fd6dd

Steps to Reproduce

  1. Go to extensions and search for an extension
  2. Click on any extension
  3. Wait

Expected

The extension should load in a sensible amount of time.

Actual

Takes around 7s every time you click an extension.

Logs

Screenshot from the network tab:
Screen Shot 2021-08-01 at 20 47 30

Screenshot from browser's console:
Screen Shot 2021-08-01 at 21 04 33

Running code-server --link -vvv didn't produce any helpful logs while clicking around in the extensions tab.

Notes

When restarting the server sometimes it shows a blank screen for quite some minutes until it shows anything.

Sometimes I get:

Error while parsing the 'sandbox' attribute: 'allow-downloads' is an invalid sandbox flag.

This issue can be reproduced in VS Code: No

Extensions load in under 0.5s-ish in VS Code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions