Files
gh-openshift-eng-ai-helpers…/commands/analyze-resource.md
2025-11-30 08:46:16 +08:00

987 B

description, argument-hint
description argument-hint
Analyze Kubernetes resource lifecycle in Prow job artifacts prowjob-url resource-name

Name

/prow-job:analyze-resource

Synopsis

Generate a report showing the lifecycle of a single resource:

/prow-job:analyze-resource <prowjob-url> [namespace:][kind/][resource-name]

Generate a report showing multiple resource lifecycles:

/prow-job:analyze-resource <prowjob-url> [namespace:][kind/][resource-name],[namespace:][kind/][resource-name],...

Description

Analyze the lifecycle of Kubernetes resource(s) in a Prow CI job by invoking the "Prow Job Analyze Resource" skill.

Implementation

Pass the user's request to the skill, which will:

  • Download Prow job artifacts from Google Cloud Storage
  • Parse audit logs and pod logs
  • Generate an interactive HTML report with timeline visualization

The skill handles all the implementation details including URL parsing, artifact downloading, log parsing, and HTML report generation.