NO-JIRA: add Deployment manifest golden-file testing #53
All Vouch review confidence checks passed
Residual risk 0.32 = Change Risk (0.74) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.74 · 639 lines diff across 7 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.387
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.074
Real PR Conversation Timeline
1 comments
"Review active on #53"
general
weight: 0.35
maxcao13
Adds golden YAML fixture tests for HCP-reconciled Karpenter Deployments to catch unintended manifest changes.
- Checks rendered manifests and stability across repeated reconciliations.
- Replaces broad Deployment assertions with focused drift-correction checks.
- Documents the fixture workflow and
UPDATE=trueregeneration in a newTESTING.mdmarkdown file which is referenced byAGENTS.md.This is based on the workflow that exists in hypershift:
fixture test for control plane components deployed by hypershift-operator https://github.com/openshift/hypershift/blob/0f18311657aeef47627b621368c8cc8ce653564f/hypershift-operator/controllers/hostedcluster/hostedcluster_controller_test.go#L5592
where those golden files live in hypershift: https://github.com/openshift/hypershift/tree/main/hypershift-operator/controllers/hostedcluster/testdata
Here's a failing fixture test output when you change something in the operand configuration either intentionally or unintentionally: