Skip to content

Add more logging to sanity test runner#298664

Merged
dmitrivMS merged 3 commits intomainfrom
dev/dmitriv/sanity-tests-logging
Mar 2, 2026
Merged

Add more logging to sanity test runner#298664
dmitrivMS merged 3 commits intomainfrom
dev/dmitriv/sanity-tests-logging

Conversation

@dmitrivMS
Copy link
Contributor

Trying to identity root cause of some strange failures.

Copilot AI review requested due to automatic review settings March 2, 2026 09:05
@dmitrivMS dmitrivMS self-assigned this Mar 2, 2026
@dmitrivMS dmitrivMS added the engineering VS Code - Build / issue tracking / etc. label Mar 2, 2026
@dmitrivMS dmitrivMS enabled auto-merge (squash) March 2, 2026 09:05
@vs-code-engineering vs-code-engineering bot added this to the March 2026 milestone Mar 2, 2026
Copy link
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

This PR adds additional diagnostic logging to the sanity test runner to help identify the root cause of intermittent test failures. It captures the Mocha Runner instance and attaches per-test event listeners.

Changes:

  • Captures the mocha.run() return value as runner and logs the failure count and exit code in the done callback.
  • Attaches three Mocha runner event listeners to log each test's start, pass, and fail (with error message).

@dmitrivMS dmitrivMS merged commit 9d61d19 into main Mar 2, 2026
20 checks passed
@dmitrivMS dmitrivMS deleted the dev/dmitriv/sanity-tests-logging branch March 2, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engineering VS Code - Build / issue tracking / etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants