Adjust trainer e2e tests to work with standalone RHBoK installation #1214
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 179 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.311
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1214"
general
weight: 0.35
kapil27
Cherry-pick of 8d9d3ce7 ("Adjust trainer e2e tests to work with standalone RHBoK installation") from main into
rhoai-3.5, so the e2e tests can run on clusters without DSC/DSCInitialization (standalone RHBoK).Summary
CaptureComponentStatereturns an empty state when the DataScienceCluster is not found instead of warningSetupKueue/ trainerTestMainteardown skip DSC-based Kueue lifecycle management when no DSC is installedGetExpectedImagePrefixis skipped in favor ofOdhImagePrefixwhen no ODH/RHOAI build is detectedGetBuildType(subscription-based) ported with standalone handling: empty build type when no ODH/RHOAI operator subscription existsAdaptations for 3.5
GetBuildType(main commit 9115a4ad), so the full block was brought in; 3.5's DSCi-basedIsRhoaiwas kept (returns false for standalone installations)rhoai_test.gorestored without theIsRhoai == (buildType == RHOAIBuild)assertion (only valid with main's subscription-basedIsRhoai)IsSpeculatorRuntimedoes not exist on 3.5)Test plan
go build ./tests/...go vet+gofmtcleangolangci-lintclean ontests/common/supportandtests/trainergo test ./tests/common/support/...passes🤖 Generated with Claude Code