microsoft / microsoft/vscode-remote-release

The `.vscode-server/bin` directory is always growing in time with no auto cleanup

Open
#8,846 7 comments 9 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Dec 13, 2024.

bug containers
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

  • VSCode Version:
    Version: 1.81.1
    Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794
    Date: 2023-08-09T22:18:39.991Z
    Electron: 22.3.18
    ElectronBuildId: 22689846
    Chromium: 108.0.5359.215
    Node.js: 16.17.1
    V8: 10.8.168.25-electron.0
    OS: Linux x64 6.2.0-27-generic

  • Local OS Version: Ubuntu 22.04

  • Remote OS Version: Ubuntu 22.04

  • Remote Extension/Connection Type: Containers

I have a problem with the .vscode-server/bin directory on remote containers - it is always growing!
So, in time it grows to huge sizes of several gigabytes! And now I have 19 gigabytes occupied by this folder!

It contains cached versions of the vscode server from all previous versions, so on each new release I'm getting a new bunch of megabytes here.

To resolve this problem, I think VS Code should include some cleanup procedure, that removes the oldest versions from this folder automatically.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.