dra: record the skewed kubelet version in job-run metadata #38099
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.63) × (1 − Review Confidence (0.58)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 282 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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.338
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #38099"
general
weight: 0.35
SergeyKanzhelev
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
The version-skew jobs
ci-kind-dra-n-1,ci-kind-dra-n-2andci-kind-dra-n-3run a control plane built at HEAD with a kubelet from one, two or three minor releases back (a HEAD atalpha.0counts as the release before it). The kubelet is downloaded at run time and copied into the kind worker nodes. Themetadata.jsonthese jobs upload records only the control-planerevision, which does not say which kubelet was tested.On a real skew failure,
ci-kind-dra-n-3build2086199172385476608(2026-08-08),metadata.json,finished.jsonand kind's per-nodekubernetes-version.txtall reported the HEAD revisionv1.38.0-alpha.0.6+94c136764292cc. The failing spec was tagged[KubeletMinVersion:1.34]and ran against kubeletv1.34.10-4+4c074912963515, which is in no structured field and shows up only in logs (build-log.txt, and each worker'skubelet.log).After the kubelet is replaced on every worker, this writes the resolved kubelet build into
metadata.jsonnext to therevision. It is emitted only whenkubelet_skew > 0, so it covers the nine skew jobs (theci, presubmit and canary variants for the n-1, n-2 and n-3 skew levels) and nothing else changes.I edited
dra.jinjaand ranmake generate-jobs;dra-canary.yaml,dra-ci.yamlanddra-presubmit.yamlare regenerated.dra-testinfra.yamlis intentionally unchanged, since its jobs have no kubelet skew.Which issue(s) this PR fixes:
Fixes #38097
Special notes for your reviewer:
The write is after the worker replacement loop, so a run that fails earlier (a failed
docker cpor restart) does not record a kubelet it did not finish installing. On thecipathmetadata.jsonis written once at the existing# Report what was testedline and again here with the extra field, since$previousis only known after the download.Release-branch skew jobs in
release-branch-jobs/1.35.yaml,1.36.yamland1.37.yamlare maintained separately; adding the field there is a follow-up.Does this PR introduce a user-facing change?
``
release-note
``NONE