← Back to Pull requests

Upstream sync 2026-08-10 #164

Closed
unknown closed this pull request without merging on Aug 25, 2026 21:35 UTC
View on GitHub
unknown unknown commented on Aug 10, 2026 21:41 UTC
Author

Upstream Sync Report

| | |
|---|---|
| Upstream | kubeflow/spark-operator @ 30cfcddc (master) |
| Midstream | opendatahub-io/spark-operator @ 875b1817 (main) |
| Date | 2026-08-10 |

Conflict resolution

| Category | Count | Action |
|---|---|---|
| Merged cleanly | — | Upstream changes applied |
| go.mod/go.sum | 2 | Resolved via go mod tidy |
| Risky files | 2 | LLM-reconciled (see below) |

Validation

  • ✅ go mod tidy

  • ✅ make build-operator
  • Reconciled risky files

    Makefile

    Upstream moved e2e tests to a separate Go module (test/e2e/go.mod). All 7 changes adopted:

  • HELM_VERSION now reads from test/e2e/go.mod

  • go-fmt, go-vet, go-lint, go-lint-fix include test/e2e module

  • unit-test no longer excludes /e2e (separate module now)

  • e2e-test uses cd test/e2e && go test ./...

  • SPARK_IMAGE bumped to apache/spark:4.0.4 with pinned digest
  • Midstream-specific changes preserved: backslash fix in unit-test, -include lines for .mk files, kustomize-set-image target.

    test/e2e/suite_test.go

    Upstream added helper functions (additive, no conflict with midstream's installViaKustomize rewrite):

  • New import: k8s.io/apimachinery/pkg/util/yaml

  • loadSparkApplication() — generic YAML loader for SparkApplication examples

  • loadSparkPi() / loadSparkPiPython() — convenience wrappers
  • Config

    Sync rules: examples/openshift/upstream-sync/sync-config.yaml

    🤖 Generated with Claude Code using /upstream-sync

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

  • New Features

  • - Added end-to-end coverage for Prometheus metrics, Spark UI access, and Spark Connect queries.
    - Added automated approval handling for eligible workflow runs.

  • Improvements

  • - Updated examples and default images to Apache Spark 4.0.4.
    - Refreshed Go and Kubernetes-related dependencies.
    - Improved end-to-end test dependency management.

  • Breaking Changes

  • - Removed the certificate provider’s TLS configuration method.

  • Documentation

  • - Updated quickstarts, scheduled application guides, and adopter information.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 285 lines (+213 / -72) across 3 files Reviewer: RobuRishabh Review duration: 21594m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 285 lines diff across 3 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.338
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #164"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 44.8% (MEDIUM) · Higher = larger blast radius
    44.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 17.7% · Safe to merge
    17.7%