Always publish generated MIG profiles and remove static fallback #598
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.37) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 239 lines diff across 2 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.328
Real PR Conversation Timeline
1 comments
"Review active on #598"
general
weight: 0.35
tariq1890
Issue
Part of NVIDIA/gpu-operator#2913
Description
mig-manager now generates the MIG config from hardware and writes the
per-node
<node>-mig-configConfigMap also when a custom config is set,so users can build custom configs from the profiles of each node. With
a custom config, a failure to generate or publish the profiles only
logs a warning. This also keeps mig-manager working with GPU Operator
versions that do not give it the env and RBAC to write the ConfigMap.
Remove the static config fallback from mig-manager and the systemd
service. It existed for R535 drivers, which cannot list MIG profiles
while MIG mode is disabled, and R535 is no longer supported. Without a
custom config, a generation failure now fails startup. The systemd
service continues when
MIG_PARTED_CONFIG_FILEpoints to a customconfig, or when a
config.yamlfrom an earlier boot exists.deb and rpm upgrades delete
/etc/nvidia-mig-manager/config-default.yaml,because it is a plain package file. Users who point
MIG_PARTED_CONFIG_FILEat that file must change it before they upgrade.Checklist
make lint)make validate-generated-assets)make validate-modules)Testing
go buildandgo vetof./cmd/nvidia-mig-manager, andbash -nofthe changed shell scripts. No unit test:
publishGeneratedConfigruns NVML-basedconfig generation, which has no test seam in this package.
The
service.shconfig block was run with a stubnvidia-mig-partedforthese cases: generation succeeds; generation fails with a custom config;
with an existing
config.yaml; with a legacy symlink; with no config; andwith
MIG_PARTED_CONFIG_FILEset to the defaultconfig.yaml. Only thelast three exit 1.