Skip to content

ci: fix electron download from test steps#292811

Merged
deepak1556 merged 2 commits into
mainfrom
robo/fix_build
Feb 4, 2026
Merged

ci: fix electron download from test steps#292811
deepak1556 merged 2 commits into
mainfrom
robo/fix_build

Conversation

@deepak1556
Copy link
Copy Markdown
Collaborator

@deepak1556 deepak1556 added this to the February 2026 milestone Feb 4, 2026
@deepak1556 deepak1556 self-assigned this Feb 4, 2026
Copilot AI review requested due to automatic review settings February 4, 2026 11:15
@deepak1556
Copy link
Copy Markdown
Collaborator Author

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates CI test execution to avoid re-downloading/repackaging Electron from the scripts/test.* steps, relying instead on the explicit “Download Electron” pipeline step (follow-up to #292770).

Changes:

  • Gate Electron download in scripts/test.sh and scripts/test.bat behind VSCODE_SKIP_PRELAUNCH.
  • Set VSCODE_SKIP_PRELAUNCH=1 for Electron-based unit/integration test steps in Linux/macOS/Windows product-build pipelines.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
scripts/test.sh Skip npm run electron when VSCODE_SKIP_PRELAUNCH is set.
scripts/test.bat Skip Electron download/bootstrap when VSCODE_SKIP_PRELAUNCH is set.
build/azure-pipelines/win32/steps/product-build-win32-test.yml Set VSCODE_SKIP_PRELAUNCH for Electron unit/integration/remote integration test steps.
build/azure-pipelines/linux/steps/product-build-linux-test.yml Set VSCODE_SKIP_PRELAUNCH for Electron unit/integration/remote integration test steps.
build/azure-pipelines/darwin/steps/product-build-darwin-test.yml Set VSCODE_SKIP_PRELAUNCH for Electron unit/integration/remote integration test steps.

Comment thread scripts/test.sh
@deepak1556 deepak1556 marked this pull request as ready for review February 4, 2026 15:27
@deepak1556
Copy link
Copy Markdown
Collaborator Author

Failing tests are unrelated

@deepak1556 deepak1556 enabled auto-merge (squash) February 4, 2026 15:27
@vs-code-engineering
Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@lszomoru

Matched files:

  • build/azure-pipelines/darwin/steps/product-build-darwin-test.yml
  • build/azure-pipelines/linux/steps/product-build-linux-test.yml
  • build/azure-pipelines/win32/steps/product-build-win32-test.yml

@deepak1556 deepak1556 merged commit b3669c2 into main Feb 4, 2026
46 of 49 checks passed
@deepak1556 deepak1556 deleted the robo/fix_build branch February 4, 2026 15:37
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Mar 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants