Index of every page on this site: llms.txt
All skills
microsoft avatar

/analyze-test-run

@147c081 official
Run it yourself

Analyze a GitHub Actions integration test run and produce a skill invocation report with failure root-cause issues. TRIGGERS: analyze test run, skill invocation rate, test run report, compare test runs, skill invocation summary, test failure analysis, run report, test results, action run report

Use this Skill: https://skilld.dev/gh/microsoft/github-copilot-for-azure/analyze-test-run

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesreport-format.md

≈1.1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Report Format

Single Run Report

## Test Results Overview

| Metric | Value |
|--------|-------|
| **Total tests** | {total} |
| **Executed** | {executed} |
| **Skipped** | {skipped} |
| **Passed** | {passed} |
| **Failed** | {failed} |
| **Test Pass Rate** | **{rate}%** ({passed}/{executed}) |

### Executed Tests

| # | Test | Duration | Result |
|---|------|----------|--------|
| {n} | {describe} > {test-name} | {Xm Ys} | **Pass** / **Fail** ({reason}) |

---

## Skill Invocation Rate

> **Note:** The three-column matrix below (azure-prepare, azure-validate, azure-deploy) applies **only to azure-deploy integration tests**, which exercise the full deployment chain. For all other integration tests, use the single-skill format shown after this section.

### azure-deploy tests (full chain)

| Test | azure-prepare | azure-validate | azure-deploy |
|------|:---:|:---:|:---:|
| {n}. {short-test-name} | **Yes** / No | **Yes** / No | **Yes** / No |

#### Summary

| Skill | Invocation Rate |
|-------|----------------|
| **azure-deploy** | **{rate}%** ({n}/{total}) |
| **azure-prepare** | **{rate}%** ({n}/{total}) |
| **azure-validate** | **{rate}%** ({n}/{total}) |
| **Full skill chain** (prepare → validate → deploy) | **{rate}%** ({n}/{total}) |
| **Overall test pass rate** | **{rate}%** per skill report ({n}/{total} soft-pass), **{rate}%** per JUnit ({n}/{total} hard-pass) |
| **Average confidence** | **{avg}%** |

### All other integration tests (single skill)

| Test | {skill-under-test} |
|------|:---:|
| {n}. {short-test-name} | **Yes** / No |

#### Summary

| Skill | Invocation Rate |
|-------|----------------|
| **{skill-under-test}** | **{rate}%** ({n}/{total}) |
| **Overall test pass rate** | **{rate}%** per skill report ({n}/{total} soft-pass), **{rate}%** per JUnit ({n}/{total} hard-pass) |
| **Average confidence** | **{avg}%** |

### Key Issues

- {bullet summary of the most impactful problems}

Comparison Report (two runs)

When a second run is provided, append a comparison section after the single-run report for the second run.

## Run Comparison: {skill} ({test-group})

| | **Run #{earlier-id}** (earlier) | **Run #{later-id}** (later) | **Delta** |
|---|---|---|---|
| **Date** | {date-earlier} | {date-later} | {delta} |
| **Duration** | {dur-earlier} | {dur-later} | {delta} |
| **Tests Executed** | {n} | {n} | — |

### JUnit Hard Pass Rate

| Test | Run #{earlier-id} | Run #{later-id} | Change |
|------|:---:|:---:|:---:|
| {test-name} | **Pass** / **Fail** | **Pass** / **Fail** | Improved / Regressed / Same |

### Skill Invocation Comparison

> For azure-deploy tests, show the full chain. For other tests, show only the skill under test.

#### azure-deploy tests

| Test | Run #{earlier-id} | Run #{later-id} |
|------|---|---|
| {n}. {short-name} | prepare: Yes/No, validate: Yes/No, **deploy: Yes/No** | ... |

| Metric | Run #{earlier-id} | Run #{later-id} | Delta |
|--------|:---:|:---:|:---:|
| **azure-deploy invoked** | **{rate}%** ({n}/{t}) | **{rate}%** ({n}/{t}) | **+/-{delta}%** |
| **azure-prepare invoked** | **{rate}%** ({n}/{t}) | **{rate}%** ({n}/{t}) | **+/-{delta}%** |
| **azure-validate invoked** | **{rate}%** ({n}/{t}) | **{rate}%** ({n}/{t}) | **+/-{delta}%** |
| **Full chain (P→V→D)** | **{rate}%** ({n}/{t}) | **{rate}%** ({n}/{t}) | **+/-{delta}%** |

#### All other integration tests

| Test | Run #{earlier-id} | Run #{later-id} |
|------|:---:|:---:|
| {n}. {short-name} | **Yes** / No | **Yes** / No |

| Metric | Run #{earlier-id} | Run #{later-id} | Delta |
|--------|:---:|:---:|:---:|
| **{skill-under-test} invoked** | **{rate}%** ({n}/{t}) | **{rate}%** ({n}/{t}) | **+/-{delta}%** |

### Report Confidence & Pass Rate

| Metric | Run #{earlier-id} | Run #{later-id} | Delta |
|--------|:---:|:---:|:---:|
| **Skill Report Pass Rate** | {rate}% | {rate}% | {delta}% |
| **Avg Confidence** | {avg}% | {avg}% | {delta}% |

### Key Takeaways

1. {numbered insight referencing data from both runs}

Guidelines

  • Always bold Yes and Pass values for visual scanning
  • Use :---: centered alignment for Yes/No and Pass/Fail columns
  • Convert JUnit time attribute (seconds) to human-readable Xm Ys format
  • For deltas, use + prefix for improvements and - for regressions
  • Round percentages to one decimal place

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 warnings2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill is a diagnostic tool designed for GitHub Actions test analysis. It follows standard software development practices for automated issue reporting and log analysis. All external interactions are scoped to the vendor's repository.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: MEDIUM · 1 issue

  • Runlayer8mo

    1/3 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 147c081. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 8 months ago
metadata
{
  "author": "Microsoft",
  "version": "1.0.6"
}
  • github-actions
  • test-analysis
  • junit
  • azure
  • skill-invocation
  • integration-testing
  • issue-filing
  • artifacts

README badge

README badge for microsoft/github-copilot-for-azure/analyze-test-run

Extracts artifacts from a GitHub Actions test run, generates a skill invocation report with pass rates and metrics, and files GitHub issues for each failure with root-cause analysis. Tracks invocation of azure-prepare, azure-validate, and azure-deploy skills in deployment test chains, and supports side-by-side comparison of two runs.

Generated from the current SKILL.md.

What GitHub Actions runs does this skill analyze?
This skill analyzes integration test runs from the microsoft/GitHub-Copilot-for-Azure repository. You provide a run ID or URL, and it downloads artifacts including junit.xml, skill reports, and agent metadata to generate a summary and file issues for failures.
Does this skill work if artifacts cannot be downloaded?
Yes. If network restrictions prevent artifact ZIP downloads, the skill falls back to the get_job_logs MCP tool to extract test failure details from job logs and produces a best-effort analysis from whatever data is accessible.
What root-cause categories does this skill identify for test failures?
The skill categorizes failures as: skill not invoked, deployment failure, timeout, assertion mismatch, or quota exhaustion. It uses these categories in the GitHub issue titles and body to document why each test failed.
Does this skill create duplicate issues for the same failure?
No. Before creating an issue, the skill searches for existing open issues matching the failure scenario. If a match is found, it skips creation and notes the existing issue number in the report instead.
Can this skill compare two test runs?
Yes. If you provide a second run ID or URL as the comparison parameter, the skill produces a side-by-side delta table showing differences in test results and skill invocation rates between the two runs.

Generated from the current SKILL.md. These answers refresh after source changes.