feat: enhance fields validator and add complete coverage helm-unittest #3324
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.65) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.65 · 235 lines diff across 2 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.327
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.065
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #3324"
general
weight: 0.35
spencercjh
What type of PR is this?
/kind feat
/kind cleanup
What this PR does / why we need it:
Legacy
dcuResourcevalues from v2.10 andscheduler.patch.imagesettings could be silently ignored when rendering the current Chart. The validator now rejects these paths and reports their replacements.Which issue(s) this PR fixes:
Related to the migration review in https://github.com/Project-HAMi/website/pull/951#discussion_r4403254781 and https://github.com/Project-HAMi/website/pull/951#discussion_r4407232934.
Special notes for your reviewer:
Validation:
AI assistance: implementation and tests were prepared with OpenAI Codex.
Does this PR introduce a user-facing change?:
Yes. Supplying
dcuResourceName,dcuResourceMem,dcuResourceCores, orscheduler.patch.imagenow fails Chart rendering with a migration hint instead of silently ignoring those settings. Previously rejected fields remain rejected. Multiple removed fields are reported together underRemoved configuration fields.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
Helm chart validation now detects obsolete settings wherever they appear in the values, including settings explicitly set to
false,0, or empty values.Validation reports all detected obsolete settings together and provides replacement paths.
Ascend mode and positive-integer device split count checks remain in place.
Migrated configuration options continue to render for supported device resources and scheduler settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->