openshift-eng/ai-helpers/fetch-job-run-summary
Claude Code and agent skill by openshift-eng/ai-helpers
- community
Checking that the SKILL.md file is still in the repository.
Fetch a Prow job run summary from Sippy showing all failed tests grouped by SIG with error messages
Install
npx vskill@latest install openshift-eng/ai-helpers/fetch-job-run-summarySKILL.md
The same SKILL.md was published earlier as openshift-eng/ai-helpers/fetch-job-run-summary.
Fetch Job Run Summary
This skill fetches a summary of a Prow job run from the Sippy API, listing all tests that failed (excluding flakes) along with their error messages.
When to Use This Skill
Use this skill when you need to:
- List all tests that failed in a specific Prow job run
- Understand which components are affected by failures in a job
- Identify dominant error patterns across multiple test failures
- Investigate mass test failure regressions by examining the underlying test failures
- Get a quick overview of a job run's health (pass rate, infrastructure failure, etc.)
Prerequisites
- Python 3: Version 3.6 or later
- Network Access: Must be able to reach
https://sippy.dptools.openshift.org
Implementation
Parameters
| Parameter | Required | Description | |
|---|---|---|---|
prow_job_run_id | Yes | The Prow job run ID (numeric, e.g., 2030845545290928128) | |
--format | No | Output format: text (default) or json |
Extracting a Job Run ID
The job run ID can be extracted from a Prow job URL:
The last path segment is the job run ID.
API Details
Endpoint: https://sippy.dptools.openshift.org/api/job/run/summary
Query Parameter: prow_job_run_id (required)
Response Fields:
| Field | Type | Description | |
|---|---|---|---|
id | int | Prow job run ID | |
name | string | Full job name | |
release | string | OpenShift release (e.g., 4.22) | |
cluster | string | Build cluster (e.g., build01) | |
url | string | Prow job URL | |
startTime | string | ISO 8601 start time | |
durationSeconds | int | Job duration in seconds | |
overallResult | string | S (success) or F (failure) | |
reason | string | Human-readable result reason | |
infrastructureFailure | bool | Whether this was an infrastructure failure | |
testCount | int | Total number of tests run | |
testFailureCount | int | Number of failed tests | |
testFailures | dict | Map of test name to error message (excludes flakes) | |
variants | list | Job variant tags |
Flake Handling
The Sippy API automatically handles flake detection. When a test has both a failure and a pass in the same job run's junit results (the standard flake pattern), it is not included in testFailures. Only true failures — tests that failed without a corresponding pass — appear in the results.
Output
Text Format
The text output is structured for AI consumption with:
- Job Run Summary: Metadata (job name, release, duration, result, variants)
- Test Statistics: Total tests, failures, pass rate
- Failed Tests: Failure count (sorted by count descending)
- Dominant Error Patterns: Error messages appearing in >5% of failures, with counts
- Detailed Failures: Each failed test with its error message, grouped by SIG
JSON Format
Structured JSON with the same data:
Examples
Example 1: Investigate a Mass Test Failure
Example 2: Compare Two Runs
Notes
- The
testFailureCountmay be slightly higher than the number of entries intestFailuresdue to internal deduplication - Error messages are truncated to 300 characters in text output to keep output manageable
- The dominant error pattern detection strips UUIDs and timestamps for better grouping
- For test-level output analysis (raw test failure output for a specific test across runs), use the
fetch-test-runsskill instead
See Also
- Related Skill:
fetch-test-runs- Fetch raw outputs for a specific test across multiple job runs - Related Skill:
fetch-regression-details- Fetch Component Readiness regression details - Related Skill:
ci:prow-job-analysis- Comprehensive analysis of test and install failures in a Prow job
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/ci/skills/fetch-job-run-summary/SKILL.md
Popularity
- Repository stars
- 112
- Repository forks
- 305
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/openshift-eng/ai-helpers/fetch-job-run-summary)