Add an OpenShift AI Spark Operator P0 benchmark harness. #188
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.50) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 376 lines diff across 4 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
Diff Size
diff_size
0.355
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #188"
general
weight: 0.35
RobuRishabh
Purpose of this PR
Add a small-scale OpenShift AI benchmark for the Spark Operator, adapted from the upstream EKS Locust workflow. It proves controlled
SparkApplicationsubmission and machine-readable metric collection before any larger scaling work.Proposed changes:
SparkApplications across three namespaces and writes per-app lifecycle JSON/CSV plus a summary (throughput, start-latency p50/p90/p99).anyuidsetup, webhook namespace patch, cleanup, andrun.sh.Change Category
Rationale
The upstream benchmark assumes EKS (node selectors,
pi-sleepimage, Helm webhook toggle, kube-prometheus). This harness is the minimum adaptation that runs on ROSA / RHOAI 3.6 and records where that adaptation stops.Two serial runs (
USERS=1, 2 apps/min) submitted 51 applications each. The repeat run exported 51/51COMPLETED, driver start latency p50 17s / p90 19s / max 20s, API create median 47 ms. A 3-user burst at 30 apps/min OOM'd the controller at its stock 512Mi limit.Checklist
Additional Notes
Validation is two live runs on ROSA (OpenShift 4.22.13, RHOAI 3.6.0-ea.2, Spark Operator v2.4.0, 4 × m5.2xlarge), not Go unit tests. Run artifacts stay local (
results/.gitignore). Summaries:| |
20260921T200655Z|20260921T205326Z||---|---|---|
| Submitted / Locust failures | 51 / 0 | 51 / 0 |
| State at export | 50
COMPLETED, 1RUNNING| 51COMPLETED|| Start latency p50 / p90 / max | 17s / 18s / 19s | 17s / 19s / 20s |
The first export stopped before the last app finished. The watcher was changed before the repeat so it waits for a terminal state. Submission settings were unchanged.
Documented blockers, not fixed here:
spark-operator-modulerestores webhooknamespaceSelectortodefaultonly, so bench namespaces were not webhook-covered (ALLOW_WEBHOOK_REVERT=1).spark-submitOOMs it.--enable-metrics=true, butspark_application_*and workqueue series are absent from Thanos.Commands to run: