fix-random-ci-test-failure

Analyze flaky CI test failures in dotnet/macios and generate targeted fixes.

2.9k|576|Updated Apr 20, 2016
One-click install
npx skills add https://github.com/dotnet/macios --skill fix-random-ci-test-failure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-random-ci-test-failure
Source: https://github.com/dotnet/macios/tree/main/.github/skills/fix-random-ci-test-failure
Command: npx skills add https://github.com/dotnet/macios --skill fix-random-ci-test-failure

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams identify and fix flaky CI tests in dotnet/macios, reducing CI instability.

Core Features & Use Cases

  • Gather failure context from GitHub issues and CI logs
  • Analyze test sources to locate root causes (shared state, environment dependencies, race conditions)
  • Propose and apply targeted fixes with clear PR guidance and diagnostics
  • Use case: when intermittent failures span multiple PRs across iOS/macOS/tvOS

Quick Start

Describe the flaky CI issue in a GitHub issue and let the agent analyze tests, identify root causes, and propose a targeted fix.

Frequently Asked Questions about fix-random-ci-test-failure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix flaky CI tests failing intermittently across iOS and macOS PRs?

To fix flaky CI tests, this skill gathers failure context from GitHub issues and CI logs, analyzes test sources for shared state or race conditions, and applies targeted fixes with diagnostic logging across iOS and macOS PRs.

What causes intermittent CI test failures that repeat across multiple pull requests?

Intermittent CI test failures are typically caused by shared state, environment dependencies, or race conditions. Analyzing test sources categorizes these root causes to generate targeted fixes for cross-PR repetition.

Can I use this to diagnose flaky tests for tvOS and Mac Catalyst CI runs?

Yes, you can diagnose flaky tests for tvOS and Mac Catalyst CI runs. The analysis covers intermittent test failures across iOS, macOS, tvOS, and Mac Catalyst continuous integration environments.

How do I analyze CI logs to find the root cause of a flaky test failure?

To find the root cause of a flaky test failure, the agent performs failure context gathering from CI logs and GitHub issues, then analyzes test sources to locate shared state or race conditions before proposing a fix.

What is the best way to add diagnostic logging when fixing flaky CI tests?

The best way to add diagnostic logging when fixing flaky CI tests is through proposed targeted fixes, which include clear PR guidance and diagnostics to capture failure context for iOS and macOS environments.