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

/playwright-devops

@0492267
by microsoftmicrosoft/playwright101k stars
6,947
Run it yourself

DevOps workflows for Playwright - CI failure analysis, workflow debugging, and release operations.

Use this Skill: https://skilld.dev/gh/microsoft/playwright/playwright-devops

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

commit-failures.md

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

CI Health Report

Generate a CI health report for the last commit on the main branch of microsoft/playwright. This is an overall tree health report — not a commit regression analysis. The goal is to show the full picture of what's failing, grouping by root cause. If any failures appear to be regressions introduced by this specific commit, call that out, but most failures will be pre-existing flakes, infrastructure issues, or platform-specific problems.

Phase 1 — Fetch logs

Run the fetch script to download all failed job logs into a local folder:

bash .claude/skills/playwright-devops/fetch-commit-logs.sh [<sha>]
  • If no SHA is provided, it fetches the last commit on main.
  • Creates ~/tmp/commit-<short-sha>/ with:
    • summary.json — commit info, failed workflows, and failed job metadata
    • <workflow-name>/<job-name>.log — failed log output for each failed job

Note: The script fetches failed jobs from both failed AND in-progress workflows. Workflows may still be running while some of their jobs have already failed — these must be included in the report. If any workflows are still in progress, note this in the report summary.

Phase 2 — Analyze

  1. Read summary.json to get the commit message and the list of failed workflows/jobs.

  2. Read each .log file and extract failing test names and error messages.

  3. Compile the report leading with a summary, then detailed tables:

    # CI Health Report — <short-sha>
    
    Commit: `<commit message>`
    
    ## Summary
    
    Brief overview: N workflows, N failed jobs, N total test failures.
    Note if any workflows are still in progress.
    
    ### Possible regressions (may be related to this commit)
    - **N failures** in `test/file.spec.ts` across <browsers/platforms> — <brief description>
    
    ### Pre-existing / flaky
    - **N failures** in `test/file.spec.ts` — <brief description> (timeouts, infrastructure, platform-specific)
    
    ### Infrastructure issues
    - <description of non-test failures>
    
    ---
    
    ## Detailed Failures
    
    ### Workflow: <name> (run <id>)
    
    #### <job name> (job <id>) -- N failures
    | Test | Error |
    |------|-------|
    | `path/to/test.spec.ts:line` -- test title | error message |

    The summary should appear first so readers immediately see what matters. Group related failures (e.g. same test failing across browsers) into single summary bullet points rather than listing each individually.

  4. Save the report to ci-failures-<short-sha>.md in the repo root.

Source: SKILL.md on GitHub

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.

1 warning24d3 checks · Risk SAFE
  • Gen Agent Trust Hub24d

    This skill provides DevOps workflows for Playwright, including scripts for downloading and analyzing GitHub Actions CI failures. It operates within the official 'microsoft/playwright' repository using standard GitHub CLI tools.

  • Socket24d

    No alerts

  • Snyk24d

    Risk: MEDIUM · 1 issue

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

Last checked against GitHub 3 days ago.

Activeupdated 2 weeks ago
user_invocable
true

README badge

README badge for microsoft/playwright/playwright-devops