Dev & Engineering ✓ Microsoft · Official azure-devopsazure-clielectronsmoke-testingflaky-testsgittypescript

VS Code Smoke Test Failure Diagnosis

Diagnose and validate intermittent VS Code Electron smoke-test failures in Azure DevOps.

FollowSkills review · FSRS-2.0
Not recommended
45/ 100 5-point scale 2.3 / 5
1 2 3 4 5 6
1Trust12 / 25 · 2.4/5

The document scopes Azure DevOps organization, project, pipeline definition, platforms, and log sources, and requires checking the built source revision. However, Azure CLI authentication, log downloads, cancellation of old runs, and queueing new runs have external effects; user confirmation, credential and sensitive-log handling, and rollback or recovery are not specified, so points are deducted.

2Reliability8 / 20 · 2.0/5

The workflow gives detailed commands, timestamp-correlation rules, diagnostic stages, and guidance for authentication failure, missing dependencies, and artifact timing. It lacks executable handling for permission errors, CLI/version incompatibilities, and other abnormal inputs, with no static reproduction evidence; therefore the score remains below the static ceiling of 10.

3Adaptability7 / 15 · 2.3/5

The audience and target scenario are clear, with coverage of failed iterations, artifact correlation, root-cause tracing, and focused validation, plus useful session/log boundary warnings. Non-fit cases, complete input requirements, and semantic trigger conditions are not fully stated; Chinese-language support is absent, and the core workflow depends on Azure DevOps reachability that may be constrained for mainland-China users, so points are deducted.

4Convention8 / 15 · 2.7/5

The document uses progressive sections for prerequisites, diagnosis, attribution, validation, and reporting, with concrete commands, platform mappings, limitations, and repository-supported MIT licensing. The skill has no own version, changelog, explicit maintenance owner, update path, FAQ, or installation/dependency guidance; some governance is only indirectly inferred from repository context, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

The skill supplies a concrete workflow for querying the pipeline, downloading logs, correlating time ranges, diagnosing root causes, and queuing validation, and it defines the expected report contents. Results still depend on Azure permissions, live run data, and human judgment; static files do not verify directly usable outputs, and queued runs add cost and external impact, so points are deducted.

6Verifiability4 / 10 · 2.0/5

Pinned pipeline identifiers, task names, artifact naming, time ranges, and commands provide auditable evidence paths, and the skill requires source-revision and log-based causal claims. There are no skill-specific tests, third-party execution records, or corroborating independent evidence; under static calibration the score stays below 5.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • Obtain explicit confirmation before running az login, downloading logs, cancelling runs, or queueing validation, and verify permissions plus the intended branch and commit.
  • Logs and crash artifacts may contain source code, prompts, paths, or other sensitive data; the skill does not define redaction, retention, or sharing boundaries.
  • The core workflow depends on Azure DevOps and Azure CLI, so it may be unusable when mainland-China network access or authentication is constrained.
  • This was a static review only; it does not establish that the commands, artifact names, or pipeline behavior execute successfully at this revision.
See the full review method →

What does this skill do, and when should you use it?

This skill is focused on intermittent Electron smoke-test failures in the VS Code Azure DevOps Flaky Smoke Tests pipeline. It inspects definition 700, individual iteration tasks, task logs, and platform-level log artifacts, then correlates the failure window with runner output. It also guides source-version analysis, causal commit tracing, session and response-routing diagnosis, and focused validation runs. It is best suited to engineers who can access the Monaco Azure DevOps project and the relevant source repository.

Uses Azure CLI to inspect build status, source revision, and template parameters; downloads and filters timeline records for Smoke test iteration tasks; reads the authoritative iteration task log; lists and downloads macOS arm64, Windows x64, or Linux x64 log and crash artifacts; correlates timestamps, test titles, scenario IDs, request bodies, and model turns to examine gesture, dispatch, request, tool-loop, rendering, and session-routing behavior; uses git show, git log, git blame, and git show to inspect the introducing change; queues focused definition-700 validation runs with az pipelines run; and validates local TypeScript changes with npm run compile and build/hygiene.ts.

  1. A VS Code maintainer sees failures in selected iterations of definition 700 and needs to inspect each iteration instead of relying on the overall build result.
  2. An Electron smoke-test task reports a failure, and the team needs platform runner evidence showing whether dispatch occurred, the request reached the mock server, the tool loop completed, and a response rendered.
  3. A test may be affected by persisted sessions, stale DOM, or duplicate warm-up work, so an engineer needs to verify active-session identity and the actual state transition.
  4. A developer has identified a suspicious test file and needs to compare the build sourceVersion with git history and the candidate diff to determine which commit introduced the race.
  5. A fix has been pushed to microsoft/vscode, and the maintainer wants a focused run with only relevant platforms and six iterations for quick validation.

What are this skill's strengths and limitations?

Pros
  • Clearly scoped to VS Code's Flaky Smoke Tests pipeline definition 700, with organization, project, YAML path, and platform artifact naming details.
  • Insists on inspecting individual iteration tasks and distinguishes authoritative task logs from job-level runner logs that can contain multiple iterations.
  • Covers the full investigation path from failure evidence and UI/session diagnosis to causal commit analysis and focused validation.
  • Provides copyable Azure CLI, Git, npm, and Node.js commands.
Limitations
  • It is specific to VS Code Electron smoke tests and the named Azure DevOps Monaco pipeline rather than general test-failure diagnosis.
  • It requires Azure DevOps access, network access, and a local command-line environment; failed authentication requires az login.
  • Platform artifacts are available only after the platform job publishes its outputs, so early investigation may be limited to the task log.
  • The source does not document a standalone installation workflow, automation scripts, or complete local environment setup.

How do you install this skill?

Place the skill directory at .github/skills/flaky-smoke-tests/ in the target Agent Skills directory and retain its SKILL.md. The source does not provide a separate installation command or a complete client-specific installation procedure; the skill is located at the specified path in https://github.com/microsoft/vscode.

How do you use this skill?

Prepare Azure CLI and the Azure DevOps extension, then run:
az extension show --name azure-devops
az devops configure --defaults organization=https://dev.azure.com/monacotools project=Monaco

Run az login if authentication fails. A suitable request to a compatible client is: “Diagnose all failed Electron smoke-test iterations in build <BUILD_ID> for Azure DevOps Monaco definition 700, download the relevant task logs and platform artifacts, identify the root cause, and queue focused validation after the fix commit has been pushed.” The skill directs the investigation to confirm the exact sourceVersion, iteration task IDs, task log, platform artifact, failure time range, and validation run result.

How does this skill compare with similar options?

The skill explicitly directs users to use Azure CLI rather than the browser for build, timeline, and artifact operations; it is not a standalone log platform or general-purpose test framework.

FAQ

Can it diagnose any VS Code test failure?
No. Its scope is the Electron smoke tests in the Flaky Smoke Tests pipeline, definition 700, in the Monaco Azure DevOps project.
Why should the overall build or job result not be trusted?
Each iteration uses continueOnError, so a failed iteration normally has a succeededWithIssues result and later iterations continue. Every timeline task named Smoke test iteration must be inspected.
Does it automatically modify or commit code?
The source describes reading code, tracing the introducing commit, validating local changes, and queueing pipeline runs. It does not describe automatic code modification or commits.
How many iterations should a validation run use?
Six iterations are recommended for a quick validation sample. Use the default 20 when the failure is rare or when validating before declaring a recurring flake resolved.

More skills from this repository

All from microsoft/vscode

Dev & Engineering ✓ Microsoft · Official

VS Code Unit Test Runner

Run VS Code repository unit tests by file, test name, or compiled-output glob.

Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Assistant

Run, filter, and debug VS Code end-to-end smoke tests.

Dev & Engineering ✓ Microsoft · Official

VS Code Chat Performance Lab

Benchmark chat rendering and detect memory growth across VS Code builds.

Dev & Engineering ✓ Microsoft · Official

VS Code Chat Customizations Editor Skill

Guides developers through safe changes and testing for VS Code’s chat customization management UI.

Dev & Engineering ✓ Microsoft · Official

VS Code Integration Test Runner

Run and filter VS Code repository integration tests with the correct platform scripts.

Automation & Ops ✓ Microsoft · Official

CI Failure Fixer

Diagnose pull request CI failures and iterate toward a fix.

Dev & Engineering ✓ Microsoft · Official

VS Code Hygiene Checks

Catch VS Code commit-blocking style and hygiene issues before the work is declared complete.

Automation & Ops ✓ Microsoft · Official

Azure Pipelines Validation Assistant

Validate VS Code Azure DevOps pipeline changes without waiting for full CI feedback.

Dev & Engineering ✓ Microsoft · Official

GitHub Copilot SDK Upgrade Assistant

Upgrade and validate @github/copilot in the VS Code Copilot Chat project.

Dev & Engineering ✓ Microsoft · Official

Tool Rename Compatibility Check

Protect existing prompts and tool configurations when built-in tools are renamed.

Dev & Engineering ✓ Microsoft · Official

VS Code Configuration Policy Maintainer

Standardize VS Code policy registration, export, and validation.

Dev & Engineering ✓ Microsoft · Official

VS Code Integrated Browser Architecture

A practical architecture guide for safely changing VS Code's cross-process integrated browser.

Dev & Engineering ✓ Microsoft · Official

Memory Leak Audit

Systematically find and fix listener, lifecycle, and disposable leaks in VS Code code.

Dev & Engineering ✓ Microsoft · Official

Code OSS Development Log Viewer

Locate and inspect the latest Code OSS development logs.

Dev & Engineering ✓ Microsoft · Official

Run Command Builder

Configure and update commands shown in a VS Code Agent Session's Run button.

Dev & Engineering ✓ Microsoft · Official

Anthropic SDK Upgrade Assistant

Upgrade Anthropic SDK packages methodically while checking API changes, compilation, and Claude-focused tests.

Dev & Engineering ✓ Microsoft · Official

Session Pull Request Assistant

Checks session changes and creates a GitHub pull request through GitHub MCP.

Dev & Engineering ✓ Microsoft · Official

V8 Heap Snapshot Analyzer

Trace V8 heap retention paths to diagnose leaks and GC-surviving objects.

Dev & Engineering ✓ Microsoft · Official

Context7 Project Bootstrapper

Build a complete VS Code project scaffold using current library documentation.

Dev & Engineering ✓ Microsoft · Official

Existing Pull Request Updater

Sync the branch, run checks, and publish new changes to an existing pull request.

Related skills