Skip to content

Sanity tests pipeline and bug fixes - #287721

Merged
Dmitriy Vasyura (dmitrivMS) merged 38 commits into
mainfrom
dev/dmitriv/sanity-tests-pipeline-fixes
Jan 14, 2026
Merged

Dmitriy Vasyura (dmitrivMS) merged 38 commits into
mainfrom
dev/dmitriv/sanity-tests-pipeline-fixes

Conversation

@dmitrivMS

@dmitrivMS Dmitriy Vasyura (dmitrivMS) commented Jan 14, 2026 •

Copy link
Copy Markdown
Collaborator

Contributes towards #279402

Make test/sanity NPM-install independent for faster initialization in the pipeline.

Fixed pipeline and tests ro fully pass on Windows x64 and MacOS x64.

Updated suite/test names to report nicely in ADO.

Ensure temp dir name is expanded on Windows to avoid ~ expansion from CLI.

Removed custom log file now that XML report is supported.

Added option to turn headless browsing on/off.

Added Windows arm64 and MacOS x64 jobs that run without runtime (validating downloads/signatures only).

Copilot AI review requested due to automatic review settings January 14, 2026 08:29
@dmitrivMS Dmitriy Vasyura (dmitrivMS) added the engineering VS Code - Build / issue tracking / etc. label Jan 14, 2026
@vs-code-engineering

vs-code-engineering Bot commented Jan 14, 2026 •

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

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

Ladislau Szomoru (@lszomoru)

Matched files:

  • build/azure-pipelines/common/sanity-tests.yml
  • build/azure-pipelines/product-sanity-tests.yml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the sanity testing pipeline infrastructure to make it NPM-install independent for faster initialization, fixes test execution on Windows x64 and MacOS x64, and improves test reporting and configurability.

Changes:

  • Restructured test files to remove nested describe() blocks in favor of direct test() calls for better ADO test reporting
  • Added headless browser mode option and made the test suite self-contained with its own dependencies
  • Improved Windows path handling with 8.3 filename expansion and replaced custom log files with XML reports
  • Updated Azure Pipelines configuration with better naming, NPM registry support, and improved authentication

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
test/sanity/src/serverWeb.test.ts Removed describe block wrapper, changed it() to test() for flat test structure
test/sanity/src/server.test.ts Removed describe block wrapper, changed it() to test() for flat test structure
test/sanity/src/desktop.test.ts Removed describe block wrapper, changed it() to test() for flat test structure
test/sanity/src/cli.test.ts Removed describe block wrapper, changed it() to test() for flat test structure
test/sanity/src/main.ts Removed outer describe block, added headless parameter, moved hooks to top level
test/sanity/src/index.ts Added directory creation for test results path and help text for new options
test/sanity/src/context.ts Added headless mode, Windows path expansion, removed custom log file, changed RPM to alien
test/sanity/package.json Added dependencies (mocha, minimist, typescript) to make tests self-contained
test/sanity/package-lock.json Updated lock file with new dependencies
build/azure-pipelines/product-sanity-tests.yml Renamed parameters with BUILD_ prefix, added NPM registry support
build/azure-pipelines/common/sanity-tests.yml Improved step names, added NPM authentication, changed from npm install to npm ci
Files not reviewed (1)
  • test/sanity/package-lock.json: Language not supported

Comment thread test/sanity/src/index.ts Resolved
Comment thread test/sanity/src/context.ts Resolved
@dmitrivMS

Copy link
Copy Markdown
Collaborator Author

Please ignore the pipeline results - it's not plugged into official builds yet.

@dmitrivMS
Dmitriy Vasyura (dmitrivMS) deleted the dev/dmitriv/sanity-tests-pipeline-fixes branch January 14, 2026 11:18
Elijah King (eli-w-king) pushed a commit that referenced this pull request Jan 14, 2026
Contributes towards #279402
Make test/sanity NPM-install independent for faster initialization in the pipeline.
Fixed pipeline and tests ro fully pass on Windows x64 and MacOS x64.
Updated suite/test names to report nicely in ADO.
Ensure temp dir name is expanded on Windows to avoid ~ expansion from CLI.
Removed custom log file now that XML report is supported.
Added option to turn headless browsing on/off.
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Feb 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

engineering VS Code - Build / issue tracking / etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants