Skip to content

[🚫 Bug] getFile retry on vscode download doesnt work #2150

@sorokinva

Description

@sorokinva

Describe the bug

After first attempt of downloading fails it does not retry

Steps to reproduce

We encountering this issue in our CI in a random manner

Logs

Downloading VS Code: 1.93.1 / stable
Downloading VS Code from: https://update.code.visualstudio.com/1.93.1/linux-x64/stable
progress: 0/163 (0%)
retry(1): Failed getting https://update.code.visualstudio.com/1.93.1/linux-x64/stable due to RequestError: socket hang up
Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
    at Request.onclose (node:internal/streams/end-of-stream:154:30)
    at Request.emit (node:events:536:35)
    at emitCloseNT (node:internal/streams/destroy:147:10)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)

Operating System

Ubuntu 20.04

Visual Studio Code

1.93.1

vscode-extension-tester

8.17.0

NodeJS

20.19.5

npm

10.8.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnew-issueNew issue which was not discussed yet

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions