← Back to Pull requests

chore: sync upstream SDK 0.5.0 #147

Closed
unknown closed this pull request without merging on Oct 16, 2026 10:16 UTC
View on GitHub
unknown unknown commented on Oct 13, 2026 16:48 UTC
Author

Purpose

Fresh upstream SDK sync for RHOAIENG-100569, under epic RHOAIENG-96438. This prepares the SDK for a separately reviewed release and the upcoming universal image.

Sync scope and resolutions

  • Midstream baseline: 0860b0d95fbb4c937950768277a78c505dec3658.

  • Upstream snapshot: ee22b33fbb261a2601f5dae9b11c2d82ea7dc7db.

  • Conflict resolution commit: 42d2f827eec767c18f6b8cf0733b61445ef375fb (normal follow-up commit; no history rewrite).

  • Adopt upstream SDK version 0.5.0; choose the RHAI release suffix during the later release cut.

  • Published dependency: kubeflow-trainer-api==2.3.0, matching the checked ODH Trainer midstream and odh-3.6.0-ea2 release.

  • Development override: ODH Trainer at 24c87a6591d04a247b7408d19cddda6bd434c842, not upstream master.

  • Keep kubeflow/trainer/rhai byte-for-byte unchanged from midstream. Preserve RHAI dispatch, PVC/S3 storage, progression, extras, and structured logging.

  • Preserve optional Runtime.kind, HF URI validation, and namespace newline stripping.

  • Adopt upstream CustomTrainer function validation and deadline handling, with regression coverage proving RHAI remains on its separate path.

  • Spark implementation/defaults match upstream, including pyspark-client==4.0.4; retain additional midstream tests and adapt their private-helper coverage to upstream option application.

  • Restore .github, CHANGELOG, OWNERS, pre-commit, and Read the Docs configuration to the exact pre-sync midstream baseline. Preserve Makefile release/changelog behavior.

  • Combine upstream wheel exclusions with downstream OWNERS exclusion; retain required RHAI scripts.

  • Regenerate uv.lock and exported requirements. No conflict markers remain.
  • [RHOAIENG-100569]: https://redhat.atlassian.net/browse/RHOAIENG-100569?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
    [RHOAIENG-96438]: https://redhat.atlassian.net/browse/RHOAIENG-96438?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

    Diff: 271 lines (+203 / -68) across 3 files Reviewer: hrathina Review duration: 3928m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 271 lines diff across 3 files
    0.39
    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.335
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #147"
    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: 39.5% (MEDIUM) · Higher = larger blast radius
    39.5%
    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: 15.6% · Safe to merge
    15.6%