Command Palette

Search for a command to run...

Назад к скиллам
скилл № 10951

analyze-payload-jobs

Use when analyzing reliability of informing or blocking OpenShift payload verification jobs, investigating recurring failures, and exporting evidence-backed…

БесплатноЗапускает вложенные скрипты
openshift-engот openshift-eng★ 123 звезды на GitHub

Установить analyze-payload-jobs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Analyze payload jobs

Analyze the requested verification role after freezing a bounded payload population. Use informing for non-blocking verification jobs and blocking for release gates, including periodic reliability analysis of older z streams that have no informing jobs or payload agent. This workflow reads Sippy directly and produces local recommendations; it does not edit release configuration, change schedules, open issues or PRs, decide payloads, or trigger jobs.

Inputs and defaults

Require positional release and job_role (informing or blocking), plus --architecture and --stream. Accept natural-language equivalents and record the effective values. Defaults are a 14-day window ending at collection start, --payloads 10, 50 inspected payloads, --min-payloads 3, 5 distinct runs across 3 payloads per chronic conclusion, 90% blocker health for informing analysis, 50% poor-job success, --max-recommendations 10, --max-candidates 100, and --time-budget-minutes 120. Recommendation limits count distinct validated repair mechanisms and validated retirement candidates; candidate limits count distinct cohorts started in this invocation. Neither is a quota. The default --history-release auto-previous uses only the verified immediately previous release when a newly started release lacks history. Use none to disable fallback or a release value to select it explicitly.

Reject rates outside [0,1], nonpositive budgets, ambiguous lookback plus start/end inputs, and non-UTC or reversed boundaries. A deliberately smaller sample remains provisional. Freeze the end time and never add newer payloads on restart.

Workspace/output paths are user-selected when supplied. Otherwise the workspace is ~/tmp/analyze-payload-jobs/<UTC timestamp> and report exports are fresh timestamped directories inside it.

Resolve bundled paths relative to this SKILL.md, independent of the current working directory. Python 3.10+ and public HTTPS access are required.

Collect, select, and rank

Read population and ranking, then run:

python3 scripts/collect_payload_jobs.py RELEASE JOB_ROLE \
  --architecture ARCH --stream STREAM --workspace WORK
python3 scripts/rank_jobs.py --workspace WORK

The collector uses Sippy's /api/releases/tags and /api/releases/job_runs array API. It records raw responses, provenance, limits, unknown values, large Prow IDs as strings, and every payload association. It never treats a display page as an API page. Review collection completeness, payload health, role normalization, and any fallback mapping before accepting the frozen selection. Retain all job rows as context; rank only exact matches for the requested role. Unknown roles never enter either ranking. Forced acceptance never overrides blocker results.

Informing analysis selects relatively healthy completed payloads using --min-blocker-pass-rate. Blocking analysis selects completed payloads even when blocker health is poor or the payload was rejected, so the jobs under analysis cannot exclude their own failures. Both require complete terminal blocker inventories and retain shared-failure review. The blocker-health threshold is unused in blocking mode.

For example, periodic analysis of an older release can start with:

python3 scripts/collect_payload_jobs.py 4.18 blocking \
  --architecture amd64 --stream nightly --history-release none --workspace WORK

The role is frozen with the analysis scope. Resume using the same role; use a fresh workspace to analyze the other role. Investigation history keeps roles separate even when the underlying Prow job is the same.

Shared-failure interpretation requires AI review. Compare signatures across independent job families, adjacent payloads, versions, and successful peers. Add reviewed decisions with --shared-failure-decisions FILE and rerun ranking; selection revisions remain in the manifest. Kubernetes or OS version skew is a hypothesis to investigate, not an automatic common cause.

Ranking is deterministic and complete. It keeps association and unique-run denominators separate, keeps current and previous-release rates separate, and labels sparse cohorts. A raw worst performer may differ from the highest-priority job-local candidate.

Investigate prioritized cohorts

Read investigation progress and initialize the persistent queue before choosing jobs:

python3 scripts/investigation_queue.py plan --workspace WORK

Investigate pending cohorts before unchanged prior investigations. Continue through the queue even if the first five yield no fixes. Stop new discovery at the validated recommendation ceiling, candidate ceiling, elapsed time budget, or exhaustion of feasible queued work; reserve time for review and export. Report the stopping reason and next cohort. Completed investigations with unresolved causes still count as explored; partial or interrupted

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/investigation-progress.md
  • references/population-and-ranking.md
  • references/recommendation-contract.md
  • scripts/collect_payload_jobs.py
  • scripts/export_report.py
  • scripts/investigation_queue.py
  • scripts/rank_jobs.py

FAQ

Что делает скилл analyze-payload-jobs?

Use when analyzing reliability of informing or blocking OpenShift payload verification jobs, investigating recurring failures, and exporting evidence-backed repair or retirement recommendations, including periodic blocking-job analysis for older releases without a payload agent.

Как установить скилл analyze-payload-jobs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл analyze-payload-jobs запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить analyze-payload-jobs с