feat: add admin API endpoint to set per-nodepool minimum version #6375
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 312 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.344
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6375"
general
weight: 0.35
ahitacat
What
MinimumVersionfield toServiceProviderNodePoolSpecVersion— an SRE-controlled semver floor per node pool, nil when unsetPOST .../nodepools/{nodepoolName}/minimumversionto set or clear the minimum versionnodePoolVersionSyncerto selectmax(customerDesiredVersion, sreMinimumVersion)as the target version before validationsetup/validate); controller tests consolidate SRE minimum version cases into the existing_IntentFailedtableWhy
SRE needs to enforce a version floor on individual node pools, ensuring they don't remain on versions below a required threshold. When set, the minimum version overrides the customer's desired version if it is higher; when cleared, the customer's version is used as before.
Testing
_IntentFailedtable testSpecial notes for your reviewer
Why is this WIP?
Once we add the SRE selection of a minimumVersion, there will be nodepool updated. This nodepool will be represented in the RP/CosmosDB with a different version that they really have. We need to agree on a correct solution to reflect this reality.
Usage example:
Set a minimum version:
Response:
PR Checklist