/pipeline-skills:wheel-failure-triagefrom pipeline-skills
Deterministically collect Fromager wheel failures across GitLab pipeline descendants, create one audit child job, and hand the report to PFA.
Ships in pipeline-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use the bundled CLI to inventory wheel build failures and prepare a single audit child pipeline. Keep collection and notification deterministic; PFA handles later analysis and reporting. Do not group failures with an LLM or create a child job per package or failure group.
Run the collector from the pipeline workspace:
python3 "${CLAUDE_SKILL_DIR}/scripts/wheel_failure_triage.py" prepare --work-dir .wheel-triage
For offline runs, pass a normalized JSON file with --failures <path>. The report-level pipeline_url remains the origin pipeline. Each failure retains its source_pipeline_url, which identifies the pipeline that produced it.
The collector writes .wheel-triage/failures.json, .wheel-triage/audit.yml, and a copy of wheel_failure_triage.py. The generated child has one audit job and runs:
python3 .wheel-triage/wheel_failure_triage.py audit .wheel-triage/failures.json
The audit command uses only the Python standard library, prints aggregate counts, and exits nonzero when the report contains failures. It keeps failure messages, URLs, and arbitrary payload fields out of the CI log; PFA reads the complete JSON artifact. Restrict collector and audit artifact access to the authorized CI/PFA readers because the JSON contains unredacted evidence. The audit runs directly from the collector artifact without cloning this repository or installing helper dependencies.
--work-dir must be relative to the project workspace and cannot contain .. or resolve outside it. Generated script and report paths follow that directory, including paths with spaces. Keep the default .wheel-triage for the current PFA artifact-reader contract; other directories require the consumer to read the corresponding report path. The audit image is pinned to an immutable UBI Python 3.12 manifest digest.
After the audit bridge reaches a terminal state, the CI notification job invokes:
python3 "${CLAUDE_SKILL_DIR}/scripts/wheel_failure_triage.py" notify --work-dir .wheel-triage
The CLI starts the PFA pipeline using BOT_PAT and forwards the selected pipeline URL. Outside scheduled pipelines, a clean audit (no failed jobs and no partial failures) starts no PFA pipeline, so callers can run the flow on every post-merge pipeline and analyze only those with failures. Jira defaults to the RHAI project. Notifications are enabled by default: PFA uses its own JIRA_API_TOKEN and configured Slack webhook. A nonempty caller SLACK_WEBHOOK_URL overrides that destination; an unset or empty value leaves PFA's default intact. Only explicit PFA_DISABLE_NOTIFICATIONS=true suppresses Jira and Slack by sending empty downstream credentials.
SUMO_CONFIG enables the Sumo Logic button in Slack. It defaults to index rh_ess and source rh_aipr-001_fondue. Set a YAML sumo mapping with index and source to override these values, or set an empty SUMO_CONFIG to omit the button. The CLI forwards this configuration to PFA; DATADOG_CONFIG is no longer used.
prepare and notify require Python packages requests and PyYAML. Both require CI_API_V4_URL, CI_PROJECT_ID, and BOT_PAT. prepare also requires CI_PIPELINE_ID and CI_PIPELINE_URL; CI_JOB_ID is used to identify a collection error. notify uses CI_COMMIT_REF_NAME and the CI pipeline metadata. Jira and Slack values are optional and may be supplied through JIRA_PROJECT, JIRA_LABELS, JIRA_COMPONENTS, JIRA_SUMMARY_PREFIX and SLACK_WEBHOOK_URL. Configure the Jira API token in the PFA project, not the caller.
Collection walks upstream root and build child pipelines through GitLab bridge jobs, uses latest job attempts, and checks successful bootstrap reports as well as failed ones. It follows a shared descendant once, excludes the audit and notification flow, and routes artifact requests by the producing job's project ID. If a downstream project cannot be determined, retain the explicit evidence error rather than attributing its artifacts to the root project.
What SKILL.md sets; muted values are Claude Code's defaults
pipeline-skills@opendatahub-skills is listed by opendatahub-io/skills-registry — review the source before installing
npx claudepluginhub opendatahub-io/skills-registry --plugin pipeline-skills3 skills in this plugin
/pipeline-groupingGroup failed CI/CD pipeline jobs by shared root cause using preprocessed error files and Jira ticket deduplication. Reads job manifest and error logs from the workspace, produces grouping.json./pipeline-rcaRoot cause analysis for a CI/CD pipeline failure error group. Reads trace logs and preprocessed errors, investigates the root cause, and produces structured section files and finding.json.Other plugins' skills for the same job