/disruption:disruption-find-runsfrom disruption
Selects Prow job runs for disruption analysis: samples currently disrupted runs, proposes before/after cohorts around a disruption-trend transition, or validates user-supplied cohorts.
Ships in disruption. 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.
This skill answers which runs to look at. It does not analyze them. It has three purposes; the request or the workflow names one:
| Purpose | Use when | Script |
|---|---|---|
sample-disrupted | "What is disrupting this series right now?" An alert or dashboard URL, no regression comparison | find_disruption_runs.py |
cohorts-around | A regression: before/after cohorts around a transition from disruption-trend | cohorts.py around |
validate | The user gave their own before and after runs | cohorts.py validate |
If the purpose is not clear, ask: "Do you want the currently disrupted runs, or runs from before and after a change?"
sippy.dptools.openshift.org and storage.googleapis.com. Both are public.disruption_common library: the disruption plugin's scripts/disruption_common, installed with the plugin. If it is missing, the scripts exit and say so. Report the message; do not work around it.The scripts are in this skill's directory: ${CLAUDE_SKILL_DIR} in Claude Code, or the directory containing this SKILL.md elsewhere. Do not query Sippy or fetch the Grafana URL yourself; the scripts do all of it in one call each.
kube-api-new-connections to kube-api, and do not substitute derived probes (*-localhost-*, *-http1-*, *-http2-*, *-service-network-*, *-internal-lb-*) or cache-* backends unless the user named them.ci-cluster-network-liveness is disrupted has unreliable disruption data. Say so wherever it appears; do not rest a conclusion on its disruption counts alone.investigation.json), {investigation_dir} is its directory. Without one, create .work/disruption-analysis/<YYYY-MM-DD>-<short-slug>/investigation.json.Read references/run-discovery.md and follow it. It runs find_disruption_runs.py once with the alert text or dashboard URL unchanged, presents the candidate table, and collects the user's selection. It picks runs across the outlier and percentile-tail tiers so the sample explains what drives the dashboard line.
These runs explain current disruption. They are not a before/after comparison, so they cannot by themselves say why disruption got worse. Say that when the request was about a regression, and offer cohorts-around instead.
Run disruption-trend first; this purpose reads its per-run records from the state file and makes no Sippy request.
python3 "${CLAUDE_SKILL_DIR}/cohorts.py" around \
--state-file "{investigation_dir}/investigation.json" \
[--transition N | --at 2026-11-04T10:00:00Z] [--per-side 5] [--window-days 7]
--transition or --at, it uses the strongest practical increase from the trend. Use --transition N (an index into trend.transitions) or --at when the user picked a different point.prowjob.json for its payload pair. Add --no-payloads only if GCS is unreachable.Then judge the proposal and say what you see:
--per-side, a different transition, or --window-days.Keep the user's cohorts exactly as given. Do not add, drop, or swap runs; only report what makes them hard to compare.
python3 "${CLAUDE_SKILL_DIR}/cohorts.py" validate \
--before "<url>,<url>" --after "<url>,<url>" \
--state-file "{investigation_dir}/investigation.json" [--backends <exact names>]
Always pass --state-file: the cohorts are recorded only there, and the comparison step reads them from it. The backends come from --backends, or else the state file's series. If neither is available, ask which backends the comparison is about. The script records the backends it used under cohorts.backends. The script reads each run's prowjob.json (job, start time, payload pair) and its disruption seconds from Sippy, then notes: jobs in only one cohort, mixed releases, cohorts that overlap in time, payloads that do not separate them, liveness, missing data, and an after cohort that is not more disrupted. Report every note and let the user decide whether to continue.
cohorts.py records the cohorts under cohorts in the state file, including handoff.download_runs (the job:build_id list for disruption-analyze-run) and handoff.prow_urls. For sample-disrupted, give the selected Prow URLs and the exact backends.
Show the cohorts (or the selected runs) as the script printed them, then end the turn with:
```disruption-checkpoint
stage: cohorts | runs
state_file: <path to investigation.json>
summary: <one line: purpose, how many runs per cohort, the main comparability concern>
next:
- analyze these runs (disruption-analyze-run with the runs above)
- edit the cohorts (swap or add runs)
- change the size or window (--per-side, --window-days)
- pick a different transition or date
```
List only the options that fit. Then stop and wait for the user's choice, unless the request said to run without pausing (--auto, or "just run it"); then record the default (analyze these runs) and continue.
cohorts-around): run disruption-trend with the same state file first.--window-days or pick another transition. Report the window that was tried.sample-disrupted or ask for a date (--at).validate): the notes say which runs have unknown seconds or payloads. Unknown is not zero; say so.sample-disrupted, the error cases (missing release or backend, no Sippy results, master_nodes_updated with no field) are in references/run-discovery.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/disruption-analyze-runUse when explaining why specific Prow CI job runs were disrupted — downloads their interval/timeline data and analyzes disruption episodes, waves, revision rollouts, and concurrent etcd, OVS, CPU, and cloud signals per run, with audit and etcd logs when needed. Takes Prow URLs or job:build_id pairs. Usually one step of a disruption investigation (see investigate-disruption)./disruption-change-suspectsUse when looking for the code change behind a disruption regression or mechanism — lists every PR that landed between two release payloads, shortlists the ones whose description fits the mechanism and components, and reads their diffs. Also answers "what landed between payload A and B that could affect this backend?" on its own. Usually one step of a disruption investigation (see investigate-disruption)./disruption-compare-cohortsUse when deciding what behavior differs between a before and an after cohort of disrupted Prow runs — builds a candidate x cohort matrix from the per-run analyses and classifies each candidate cause as pre-existing and unchanged, pre-existing with more impact, or new. Also compares any set of analyzed runs for shared patterns. Usually one step of a disruption regression investigation (see investigate-disruption)./disruption-known-issuesUse when checking whether a disruption mechanism is already tracked in Jira — searches TRT and OCPBUGS by API family, mechanism keywords, and component, separates cards whose mechanism the evidence demonstrates from cards that are only related by backend or symptom, and checks whether a matching fix already landed. Usually the last step of a disruption investigation (see investigate-disruption)./disruption-trendUse when asked only when disruption started, got worse, improved, or changed for a disruption backend or series (given as an alert, a Grafana disruption dashboard URL, or a release plus backend), or to run a control series on another platform or release. Builds the per-run disruption time series and locates transitions and onset with stated uncertainty. To investigate why a DisruptionRegression alert fired, start with investigate-disruption; this skill is usually its first step./investigate-disruptionUse when investigating OpenShift CI disruption end to end — a DisruptionRegression alert, a Grafana disruption dashboard URL, Prow job runs, "when did disruption start", "what made disruption worse", or "what changed between these payloads". Picks the workflow, runs the disruption skills in order with a checkpoint between them, and assembles the final report with a verdict.npx claudepluginhub openshift-eng/ai-helpers --plugin disruptionOther plugins' skills for the same job