pr-action-analyzer

Analyze GitHub PR CI failures and generate structured failure reports.

31|4|Updated Aug 24, 2021
One-click install
npx skills add https://github.com/razorpay/trino-gateway --skill pr-action-analyzer
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: pr-action-analyzer
Source: https://github.com/razorpay/trino-gateway/tree/main/.agents/skills/pr-action-analyzer
Command: npx skills add https://github.com/razorpay/trino-gateway --skill pr-action-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze PR CI failures to identify root causes.

Core Features & Use Cases

  • Locate PR checks and categorize by UT, SLIT, and E2E to target analysis.
  • Fetch and parse CI logs to extract failing tests, error messages, and patterns.
  • Generate structured failure reports with actionable insights for developers.

Quick Start

Provide a PR URL and action type (UT, SLIT, or E2E) to start analysis.

Frequently Asked Questions about pr-action-analyzer

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

FAQPage Schema
How do I analyze GitHub PR CI failures to find root causes?โ–ผ

To analyze GitHub PR CI failures, you provide a PR URL and specify an action type like UT, SLIT, or E2E. The tool fetches check runs via gh CLI, parses the logs, and outputs a structured report highlighting failing tests and error patterns.

Does PR CI failure analysis work with Argo workflow E2E logs?โ–ผ

Yes, PR CI failure analysis works with Argo workflow data for E2E failures. It can parse Argo workflow logs to locate relevant E2E checks, extract failing tests, and surface the underlying error patterns causing the CI pipeline to fail.

Can I extract failing tests from GitHub check runs automatically?โ–ผ

Yes, you can extract failing tests from GitHub check runs automatically. By fetching the CI logs through the gh CLI, the analysis categorizes checks into UT, SLIT, or E2E and parses them to isolate specific failing tests and error messages.

What is the best way to categorize PR checks for targeted log analysis?โ–ผ

The best way to categorize PR checks for targeted log analysis is by dividing them into UT, SLIT, and E2E groups. This categorization helps target the specific CI logs needed to extract error messages and generate actionable failure reports.

Why do I need the gh CLI for diagnosing PR CI failures?โ–ผ

You need the gh CLI for diagnosing PR CI failures because it is the mechanism used to fetch GitHub check runs and their associated logs. The analysis relies on this data to locate failing tests and identify the root causes of the failures.

What structured insights can I expect from E2E failure log analysis?โ–ผ

From E2E failure log analysis, you can expect structured failure reports containing actionable insights for developers. These reports surface failing tests, extract error patterns from the parsed logs, and identify the root causes of the CI failures.