Skip to content

Poor extension installation experience #7227

Open
@MrWiffer

Description

@MrWiffer

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome
  • Local OS: macOS
  • Remote OS: Ubuntu22.04
  • Remote Architecture: amd64
  • code-server --version: code-server 4.95.3 b0c935a with Code 1.95.3

Steps to Reproduce

  1. Click Extenstions to search for an extension, using mdAL as an example.
  2. Click install

Expected

Installing an extension should not wait for a long time before it can be successfully installed

Actual

Being in an installation state for a long time, and the log output is as follows:

[16:57:57] Getting Manifest... joneug.mdal
[16:58:02] Installing extension: joneug.mdal {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  pinned: true,
  installOnlyNewlyAddedFromExtensionPack: true,
  isApplicationScoped: false,
  profileLocation: gr {
    scheme: 'file',
    authority: '',
    path: '/etc/aibox/.local/share/code-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///etc/aibox/.local/share/code-server/extensions/extensions.json',
    _fsPath: '/etc/aibox/.local/share/code-server/extensions/extensions.json'
  },
  productVersion: { version: '1.95.3', date: '2024-11-15T19:35:09.428Z' }
}
[17:01:53] [10.37.4.106][30d40b01][ExtensionHostConnection] <4344> Extension Host Process exited with code: 0, signal: null.
[17:13:52] Could not load vsce-sign module Cannot find package '@vscode/vsce-sign' imported from /etc/aibox/code-server/lib/vscode/out/server-main.js
[17:13:52] Extension signature verification is not done: joneug.mdal
[17:13:52] Extracted extension to file:///etc/aibox/.local/share/code-server/extensions/joneug.mdal-0.4.1-universal: joneug.mdal
[17:13:52] Renamed to /etc/aibox/.local/share/code-server/extensions/joneug.mdal-0.4.1-universal
[17:13:52] Extension installed successfully: joneug.mdal file:///etc/aibox/.local/share/code-server/extensions/extensions.json

What's more, even though the log shows that the installation was successful, the UI interface still displays "installing" for a while, which is not very user-friendly.

Logs

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

Yes, this is also broken in native VS Code

Does this bug reproduce in GitHub Codespaces?

Yes, this is also broken in GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis issue needs to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions