Skip to content

[🚀 Request] get-vscode and get-chromedriver could cache different versions #1807

@pospisilf

Description

@pospisilf

Describe the request

When extest get-vscode is executed, the downloaded VS Code build is cached locally as either stable.zip or insider.zip, depending on the chosen type. However, if you locally run tests with different versions of VS Code, the respective version will be downloaded each time, overwriting the previous cached version.

To avoid redundant downloads when frequently switching between versions explicitly manage version-specific caching would help.

Usage

# Download and cache the latest stable version of VS Code
extest get-vscode --type stable
# → Cached as stable.zip

# Download and cache a specific older stable version
extest get-vscode --code_version 1.85.2 --type stable
# → Cached as stable.zip (overwrites the previously cached stable version)

# If you run again to get the latest stable version
extest get-vscode --type stable
# → Cached as stable.zip (overwrites the older specific version)

# Recommendation: Cache per specific version to avoid overwriting
extest get-vscode --code_version 1.85.2
# → Cached distinctly as stable-1.85.2.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions