analysing-ci-failures

Analyze GitHub Actions CI failures from job URLs and CTRF test reports.

1.5k|207|Updated Nov 24, 2023
One-click install
npx skills add https://github.com/golemcloud/golem --skill analysing-ci-failures
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analysing-ci-failures
Source: https://github.com/golemcloud/golem/tree/main/.agents/skills/analysing-ci-failures
Command: npx skills add https://github.com/golemcloud/golem --skill analysing-ci-failures

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers quickly understand why their GitHub Actions CI builds are failing, saving them time and effort in debugging.

Core Features & Use Cases

  • Automated Log Analysis: Downloads and analyzes CI job logs to pinpoint failure reasons.
  • Test Report Parsing: Extracts information from CTRF test reports to identify specific test failures.
  • Reproducible Steps: Provides clear instructions on how to reproduce the failure locally.
  • Use Case: When a pull request build fails, paste the GitHub Actions job URL into the chat, and the Skill will analyze the logs and reports to tell you exactly which test failed and how to run it on your local machine.

Quick Start

Use the analysing-ci-failures skill to diagnose why the GitHub Actions run at https://github.com/golemcloud/golem/actions/runs/123456789 failed.

Frequently Asked Questions about analysing-ci-failures

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

FAQPage Schema
How do I debug GitHub Actions CI failures from a job URL?

Paste the GitHub Actions job URL into the chat. The tool downloads logs and CTRF test reports to pinpoint the root cause of build and test failures and provide local reproduction steps.

How does parsing CTRF test reports help identify failing tests?

Parsing CTRF test reports extracts specific test failure details from CI runs. This pinpoints exactly which tests failed in the golemcloud/golem repository and provides actionable insights for local reproduction.

Do I need gh CLI to analyze GitHub Actions logs?

Yes, you need the gh CLI installed. It is a required dependency for fetching CI job logs and test reports from GitHub Actions URLs to diagnose the failure.

Can I use this to get reproducible steps for a failed pull request build?

Yes, you can use this to get reproducible steps for a failed pull request build. It analyzes GitHub Actions logs and CTRF reports to tell you exactly which test failed and how to run it locally.

What are the limitations of using GitHub Actions for CI failure analysis?

The limitations include a strict dependency on the gh CLI for log retrieval and specific parsing logic for CTRF reports. It is specifically tailored to diagnose issues within the golemcloud/golem repository.