Keep one on-demand worker for cluster-bot AWS spot launches #646
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 233 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.326
Real PR Conversation Timeline
1 comments
"Review active on #646"
general
weight: 0.35
redhat-chai-bot
Summary
Set
SPOT_ON_DEMAND_FALLBACK=truealongsideSPOT_INSTANCES=truefor cluster-bot AWS launch jobs. This tells the install step to keep one worker MachineSet on-demand as a fallback when spot capacity is exhausted.Problem
Cluster-bot AWS launches currently have a ~22% failure rate due to spot capacity exhaustion — all 3 worker MachineSets are spot, so if capacity is unavailable in all AZs, no workers provision and the install times out (~70 minutes wasted per failure).
Over the last 7 days: ~41 genuine failures out of 183 meaningful runs of
release-openshift-origin-installer-launch-aws-modern.Change
One line added in
pkg/manager/prow.go: whenUseSpotInstances(job)is true, also setSPOT_ON_DEMAND_FALLBACK=truein the multi-stage test environment. This tells the install step to pick the worker MachineSet with the lowest replica count and leave it on-demand.Cost Impact
m6i.xlargeworker moves from spot ($0.044/hr) to on-demand ($0.192/hr)Dependency
Requires openshift/release#86529 which adds
SPOT_ON_DEMAND_FALLBACKsupport to theipi-install-installstep. That PR must be merged first.---
AI-generated. Review for accuracy.
@RadekManak requested from Slack
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Bug Fixes
Matched test environments using spot instances now enable on-demand fallback alongside the spot-instance setting. This ensures the fallback option is available when spot capacity is unavailable.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->