Skip to content

Download and extract vscode-server in temp directory#196

Open
MatthewCash wants to merge 1 commit intojeanp413:masterfrom
MatthewCash:fix/extract-in-tmpdir
Open

Download and extract vscode-server in temp directory#196
MatthewCash wants to merge 1 commit intojeanp413:masterfrom
MatthewCash:fix/extract-in-tmpdir

Conversation

@MatthewCash
Copy link
Copy Markdown

If either extraction is interrupted (with $SERVER_SCRIPT at least partially-created) or multiple instances of the installation script run at the same time, the installation process becomes stuck and needs manual intervention.

This fixes the issue by performing the time-consuming installation steps in a per-installation-instance temp directory and only copying the files over once extraction completes.

@daiyam
Copy link
Copy Markdown
Collaborator

daiyam commented Apr 2, 2026

@MatthewCash It doesn't solve

multiple instances of the installation script run at the same time

Shouldn't a directory lock be used to fix that issue?

@MatthewCash
Copy link
Copy Markdown
Author

Shouldn't a directory lock be used to fix that issue?

Yeah probably, I don't use this anymore so if you have a better solution I would close this in favor of yours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants