Fix NHC escalation flakiness #145
All Vouch review confidence checks passed
Residual risk 0.04 = Change Risk (0.24) × (1 − Review Confidence (0.86)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.24 · 35 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.81 · 2 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
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.214
Real PR Conversation Timeline
2 comments
tests/nhc-operator/tests/nhc_escalation.go
"I think we have a potential bug here.
the way `SelectWorkerNode` implemented (see below relevant snippet) in case we have 2 worker we'll end up picking the bastion node instead of the correct worker.
```
node := pickRandomReadyNode(nodeList.Items, append(append([]string{}, excludeNodes...), bastionNodes...)...)
if node == nil {
node = pickRandomReadyNode(nodeList.Items, excludeNodes...)
}
```"
logic_concern
weight: 0.8
tests/nhc-operator/tests/nhc_escalation.go
"Good point
/hold"
clarifying
weight: 0.45
razo7
abrugaro
Avoid selecting the same victim node twice in the same test and ensure node SSH access and SNR Agents readiness between tests.