Skip to content

[🚫 Bug] get-vscode should be idempotent #1759

Open
@ssbarnea

Description

@ssbarnea

Describe the bug

At this moment running extest get-vscode will always re-download and uncompressed vscode instead of doing it only if the current version is outdated or missing.

This is important because it prevent use of caching of the TEST_RESOURCES folder between CI jobs and also causing random networking related failures.

It should be noted that its sister command extest get-chromedriver is able to benefit from caching as it reports, "exists in local cache, skipping download".

Steps to reproduce

time extest get-vscode
...

# second run should not take more than 2s:
time extest get-vscode

Logs

=

Operating System

Visual Studio Code

vscode-extension-tester

8.12.0

NodeJS

20

npm

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions