[docs] Add wmco-local-debug skill #4809
All Vouch review confidence checks passed
Residual risk 0.33 = Change Risk (0.57) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #4809"
general
weight: 0.35
redhat-chai-bot
Adds
.claude/skills/wmco-local-debug/SKILL.md, the operating procedure for a live WMCO cluster boundto a pull request. It exists because a WMCO change or test failure can rarely be settled without a
cluster that carries the pull request's operator and a Windows node, and the pieces to build one were
spread across a debug job, a rehearsal log, a runbook and several Slack threads.
The file is the documentation. This description says what it contains and how it was checked.
Scope
Any live WMCO work, not only OTE: operator, controller, daemon and Windows node changes, Windows
Containers test debugging, and separating a real failure from a broken environment. It covers both
supported ways of getting a cluster - the opt-in Azure OTE debug job in
openshift/releaseandcluster-bot- and everything from Step 3 onwards applies to either.What the skill documents
access follows the person who triggered it, and a teammate gets a cluster by requesting the job on
their own pull request rather than by sharing a run.
azure-e2e-ote-debugcontract -ipi-azure-ovn-hybrid,build13,openshift-org-azure,hack/run-ci-e2e-test.sh -t setup-only -s, thePULL_NUMBERgate,TIMEOUT +4 hours,/tmp/debug.done, thewindows-machine-config-operator/allsuite withTEST_SKIPS, the 6h45m step and 20h job timeouts - and why the hold lives in the setup pod ratherthan the shared
waitstep.ci-op-*namespace from the build cluster, and how to tell anactive hold from a pod that is
Pendingon anti-affinity.must pass before any result is trusted, and the rule that keeps the debug kubeconfig out of the
build-cluster shell.
the services ConfigMap, what reconfiguration costs, and which repository scripts reproduce the same
setup on a cluster you own.
KUBECONFIGrequirement that makesgo testand the binary silently do nothing without it, listingtests, running one from the workstation or inside the hold pod with
--timeout, and how to read theJSON result line.
touch /tmp/debug.donefrom the build-cluster shell and why the jobshould be allowed to finish its suite, diagnostics and deprovisioning.
Provisionedwith unapproved CSRs, a namespace-scoped CatalogSource blocking an OLM reinstall, aTerminatingnamespace caused by Windows pods that cannot terminate after their CSI volume is gone,a fixed namespace left by an earlier attempt, and wall-clock deadlines stretched by a sleeping
workstation.
always_run: falsewithoutpipeline_run_if_changed, every test-level env var declared on a step, hold inside an alreadyscheduled step, timeouts that budget setup plus hold,
make updateafter any configuration edit sothe generated presubmits stay in sync, and a rehearsal before merging.
Pendinghold, the machine-approver CSR case, the "not cluster-wide" skip, the
Terminatingnamespace, theimmediate "namespace already exists" failure,
KUBECONFIGunset, the wrong-cluster mistake and theLinux binary overwriting the native one.
digest, the command and the result line; report pass, skip and infrastructure failure separately; do
not delete resources you do not own.
Layout
.claude/skills/wmco-local-debug/SKILL.md, withnameanddescriptionfrontmatter, so the skill isdiscoverable rather than a Markdown file that has to be found by hand.
Validation
Every command in the document was run against the repository before being written down:
make build-tests-extfrom the root producesbuild/_output/bin/wmco-tests-ext.mkdir -p build/_output-linux/bin && GOOS=linux GOARCH=amd64 CGO_ENABLED=0 make build-tests-ext OUTPUT_DIR=build/_output-linuxproduces
build/_output-linux/bin/wmco-tests-ext, an ELF 64-bit statically linked binary, and leavesthe native binary untouched.
KUBECONFIG=/dev/null ./build/_output/bin/wmco-tests-ext list tests -o nameslists the suite;without
KUBECONFIGthe same command fails withPlease set KUBECONFIG first!.KUBECONFIG=/dev/null GOWORK=off go test ./test/e2e -count=1runs the package's unit tests andpasses; without
KUBECONFIGthe same command printsokwhile running none of them.openshift/release#88887, where the hold was moved
into the setup pod after sitting
Pendingfor 97 minutes, and from driving OCP-66352, OCP-74760,OCP-37086 and OCP-37096 against a held cluster.
Related
drives, and its README points here for the operating procedure instead of repeating it.
cannot finish on a rehearsal cluster.