Skip to content

ci: cache VS Code test executable in vscode_unit CI workflow - #11030

Open
joehan wants to merge 1 commit into
mainfrom
cache-vscode-test-binary
Open

ci: cache VS Code test executable in vscode_unit CI workflow#11030
joehan wants to merge 1 commit into
mainfrom
cache-vscode-test-binary

Conversation

@joehan

@joehan joehan commented Sep 3, 2026

Copy link
Copy Markdown
Member

Description

The VS Code unit tests in CI (vscode_unit) currently download the ~130MB VS Code Electron archive from update.code.visualstudio.com on every runner invocation. Transient CDN drops or socket terminations (such as ECONNRESET) cause intermittent test flakes.

This change adds an actions/cache step targeting firebase-vscode/.vscode-test, keyed on the OS and the contents of firebase-vscode/src/test/constants.ts (where VSCODE_VERSION is defined), with a fallback restore key.

Scenarios Tested

  • Verified workflow YAML syntax against GitHub Actions schema.

@joehan
joehan requested a review from Berlioz September 3, 2026 22:29
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

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.

3 participants