Skip to content

fix(ci): correct VS Code binary cache path and eliminate double compile#194

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/create-sub-jobs-for-tests
Draft

fix(ci): correct VS Code binary cache path and eliminate double compile#194
Copilot wants to merge 4 commits intomainfrom
copilot/create-sub-jobs-for-tests

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 3, 2026

@vscode/test-cli downloads the VS Code binary to .vscode-test/ (workspace-relative), but the CI was uploading/downloading ~/.vscode-test/ — causing the artifact to always be empty and forcing every integration matrix job to re-download ~180 MB.

Additionally, pnpm run test:unit embeds TEST=true pnpm run compile internally, so running it after an explicit "Compile" step triggered two full rolldown builds.

Changes

  • Artifact path: upload/download changed from ~/.vscode-test/.vscode-test/
  • Compile step: now runs both compilations upfront — pnpm run compile && TEST=true pnpm run compile — producing both out/ (extension) and out_test/ (tests)
  • Unit Tests step: calls pnpm exec vscode-test directly with TEST_SUITE=unit env, bypassing the embedded recompile in the test:unit npm script

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