openshift-eng/ai-helpers/payload-autodl-json

Claude Code and agent skill by openshift-eng/ai-helpers

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Schema for the autodl JSON data file produced by payload-analysis for database ingestion — you must use this skill whenever generating the autodl JSON file

Install

npx vskill@latest install openshift-eng/ai-helpers/payload-autodl-json

SKILL.md

The same SKILL.md was published earlier as openshift-eng/ai-helpers/payload-autodl-json.

Payload Autodl JSON

This skill defines the schema for the payload-analysis-{tag}-autodl.json file. The file is a flat denormalized table designed for database ingestion, with one row per (failed blocking job, candidate PR) pair.

When to Use This Skill

Use this skill when you need to generate the autodl JSON file during payload-analysis (Step 8).

File Location

The file is written to the current working directory:

payload-analysis-<sanitized_tag>-autodl.json

The filename must end with -autodl.json. Sanitize the tag for filename safety (replace colons and slashes with hyphens).

Schema

json
{
"table_name": "payload_triage",
"schema": {
"payload_tag": "string",
"version": "string",
"stream": "string",
"architecture": "string",
"phase": "string",
"release_controller_url": "string",
"analyzed_at": "string",
"rejection_streak": "int64",
"total_blocking_jobs": "int64",
"failed_blocking_jobs": "int64",
"force_accept_recommended": "int64",
"job_name": "string",
"prow_url": "string",
"failure_type": "string",
"root_cause_summary": "string",
"streak_length": "int64",
"is_new_failure": "int64",
"originating_payload_tag": "string",
"candidate_pr_url": "string",
"candidate_title": "string",
"candidate_repo": "string",
"candidate_confidence_score": "int64",
"candidate_rationale": "string",
"revert_pr_url": "string",
"revert_pr_status": "string",
"rhcos_change_suspected": "int64",
"rhcos_suspect_packages": "string"
},
"schema_mapping": null,
"rows": [
{
"payload_tag": "4.22.0-0.nightly-2026-02-25-152806",
"version": "4.22",
"stream": "nightly",
"architecture": "amd64",
"phase": "Rejected",
"release_controller_url": "https://amd64.ocp.releases.ci.openshift.org/...",
"analyzed_at": "2026-02-26T10:30:00Z",
"rejection_streak": "5",
"total_blocking_jobs": "42",
"failed_blocking_jobs": "4",
"force_accept_recommended": "0",
"job_name": "periodic-ci-openshift-release-main-ci-4.22-e2e-aws-ovn",
"prow_url": "https://prow.ci.openshift.org/view/gs/...",
"failure_type": "test",
"root_cause_summary": "OVN gateway mode selection regression",
"streak_length": "5",
"is_new_failure": "0",
"originating_payload_tag": "4.22.0-0.nightly-2026-02-20-150000",
"candidate_pr_url": "https://github.com/openshift/cno/pull/2037",
"candidate_title": "Fix OVN gateway mode selection",
"candidate_repo": "openshift/cluster-network-operator",
"candidate_confidence_score": "95",
"candidate_rationale": "Error references code changed by this PR",
"revert_pr_url": "https://github.com/openshift/cno/pull/2038",
"revert_pr_status": "open",
"rhcos_change_suspected": "0",
"rhcos_suspect_packages": ""
},
{
"payload_tag": "4.22.0-0.nightly-2026-02-25-152806",
"version": "4.22",
"stream": "nightly",
"architecture": "amd64",
"phase": "Rejected",
"release_controller_url": "https://amd64.ocp.releases.ci.openshift.org/...",
"analyzed_at": "2026-02-26T10:30:00Z",
"rejection_streak": "5",
"total_blocking_jobs": "42",
"failed_blocking_jobs": "4",
"force_accept_recommended": "0",
"job_name": "periodic-ci-openshift-release-main-ci-4.22-e2e-gcp-ovn",
"prow_url": "https://prow.ci.openshift.org/view/gs/...",
"failure_type": "install",
"root_cause_summary": "Install timeout waiting for etcd quorum",
"streak_length": "2",
"is_new_failure": "0",
"originating_payload_tag": "4.22.0-0.nightly-2026-02-23-080000",
"candidate_pr_url": "",
"candidate_title": "",
"candidate_repo": "",
"candidate_confidence_score": "0",
"candidate_rationale": "",
"revert_pr_url": "",
"revert_pr_status": "",
"rhcos_change_suspected": "1",
"rhcos_suspect_packages": "systemd,glibc"
}
],
"chunk_size": 0,
"expiration_days": 0,
"partition_column": ""
}

Row Cardinality Rules

ScenarioRows for that job
Failed job, no candidate1 row — candidate fields are "" / "0"
Failed job, 1 candidate1 row — candidate fields populated
Failed job, 2+ candidatesN rows — job fields identical, candidate fields differ per candidate
Passed job0 rows — not included

Field Rules

  1. All row values MUST be strings — wrap every value in double quotes (e.g., "5" not 5). The schema declares the downstream types.
  2. Empty/missing values are empty strings (""). For int64 fields with no value, use "0".
  3. `is_new_failure`: "1" for true, "0" for false.
  4. `candidate_confidence_score`: Integer 0-100, e.g. "95". "0" when no candidate.
  5. `revert_pr_url`: URL of the revert PR — either a pre-existing revert discovered during analysis, or one created by stage-payload-reverts. "" if no revert exists.
  6. `revert_pr_status`: "open", "merged", "draft", "closed", or "" if no revert.
  7. `schema_mapping` is always null.
  8. `chunk_size`, `expiration_days`, and `partition_column` are always 0, 0, and "".

Field Descriptions

Payload-level fields (denormalized across all rows)
FieldTypeDescription
payload_tagstringFull payload tag
versionstringOCP version (e.g., "4.22")
streamstringCanonical stream type: "nightly" or "ci". For OKD payloads (e.g. okd-scos-nightly, okd-scos), map to the base type: okd-scos-nightly → "nightly", okd-scos → "ci".
architecturestring"amd64", "arm64", "multi", etc.
phasestringPayload phase: "Rejected", "Accepted", "Ready"
release_controller_urlstringURL to the payload on the release controller
analyzed_atstringISO 8601 timestamp of when the analysis was performed
rejection_streakint64Number of consecutive rejected payloads leading up to the target
total_blocking_jobsint64Total number of blocking jobs in the payload
failed_blocking_jobsint64Number of failed blocking jobs
force_accept_recommendedint641 if all failures are temporary infrastructure, no more than 2 blocking jobs failed, and no payload accepted in 18+ hours; 0 otherwise
Job-level fields
FieldTypeDescription
job_namestringFull periodic job name
prow_urlstringProw URL for the failing run
failure_typestring"test", "install", "upgrade", or "infra"
root_cause_summarystringBrief description of the failure mode
streak_lengthint64Consecutive payloads this job has been failing
is_new_failureint641 if the job first started failing in the target payload, 0 otherwise
originating_payload_tagstringThe payload where this job first started failing in the current streak
Candidate-level fields
FieldTypeDescription
candidate_pr_urlstringGitHub PR URL, or "" if no candidate
candidate_titlestringPR title, or ""
candidate_repostringGitHub org/repo, or ""
candidate_confidence_scoreint640-100 confidence score, 0 when no candidate
candidate_rationalestringExplanation of why this PR is a candidate, or ""
revert_pr_urlstringURL of a revert PR if one exists, or ""
revert_pr_statusstring"open", "merged", "draft", "closed", or ""
RHCOS suspect fields
FieldTypeDescription
rhcos_change_suspectedint64"1" if RHCOS RPM changes are suspected to contribute to this job's failure, "0" otherwise
rhcos_suspect_packagesstringComma-separated RPM package names suspected as causes (e.g., "kernel,systemd"), or "" when not suspected

Operations

Create (used by payload-analysis)

Generate the full autodl JSON file with all rows populated from the analysis results. Each failed blocking job produces at least one row. Candidate fields are populated when a PR is correlated to the failure, otherwise they are empty strings / "0".

Update Revert Status (used by stage-payload-reverts)

After staging reverts, find rows matching candidate_pr_url and set:

  • revert_pr_url: URL of the revert PR (created or pre-existing)
  • revert_pr_status: "open" (or "draft" if draft)
Update Experiment Status (used by payload-experimental-reverts)

Phase 1 (dispatch): After creating draft revert PRs, find rows matching candidate_pr_url and set:

  • revert_pr_url: URL of the draft revert PR
  • revert_pr_status: "draft"

Phase 2 (collection): After collecting experiment results, find rows matching candidate_pr_url and update:

  • PASS (confirmed cause): revert_pr_status: "open"
  • FAIL (innocent): revert_pr_url: "", revert_pr_status: "" (draft was closed)

See Also

  • Validator: run python3 plugins/ci/skills/payload-autodl-json/scripts/validate.py <payload-autodl-file> to check generated JSON for correctness.
  • Related Skill: payload-analysis — creates this file in Step 8
  • Related Skill: stage-payload-reverts — updates revert fields after staging reverts
  • Related Skill: payload-experimental-reverts — updates revert fields after experiments
  • Related Skill: payload-results-yaml — the YAML results file for downstream agentic actions

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
114
Repository forks
307
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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/openshift-eng/ai-helpers/payload-autodl-json/badge)](https://verified-skill.com/skills/openshift-eng/ai-helpers/payload-autodl-json)

Something wrong with this skill or its page? Tell us.