feat(spark): add DynamicAllocation support for Spark resources #929
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.30) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.30 · 85 lines diff across 1 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.266
Real PR Conversation Timeline
1 comments
"Review active on #929"
general
weight: 0.35
RobuRishabh
What this PR does / why we need it:
Adds a
DynamicAllocationoption so that Spark Connect sessions and Spark batch jobs can scale executors with the workload instead of running a fixed executor count. It setsspec.dynamicAllocationon theSparkConnectandSparkApplicationresources.This continues #679 by @KartikSuryavanshi (credited as co-author) and addresses the review feedback on it.
Which issue(s) this PR fixes _(optional, in
Fixes #<issue number>, #<issue number>, ...format, will close the issue(s) when PR gets merged)_:Fixes #489
Supersedes #679
Checklist: