← Back to Pull requests

feat: require persistent output and refine Training API docs #15

Closed
unknown closed this pull request without merging on Nov 13, 2026 09:07 UTC
View on GitHub
unknown unknown commented on Nov 09, 2026 16:27 UTC
Author

Require persistent output storage for new training jobs so saved model artifacts remain available after training-cluster cleanup. Refine the RHOAI 3.6 Developer Preview API reference and provide brief installation and dashboard integration guides.

Changes:

  • Require output.destination_uri with an existing S3 connection or PVC for new submissions. Missing, null or empty output is rejected before job submission. Preserve recorded configurations when reading older jobs that omitted output.

  • Use Training API - RHOAI 3.6 Developer Preview as the title and document Ray as the only supported execution backend. Keep API version 0.1.0 aligned with the package, chart application version and default Quay image tag.

  • Remove the unimplemented estimation endpoint, its schemas, generated models and router registration; the removed route returns 404. Retain queue discovery's 501 response and describe its planned function as listing project Kueue LocalQueues with Kueue enabled in RHOAI.

  • Replace internal implementation details and release plans with brief operation summaries, parameter help and response descriptions. Retain guidance needed for storage URIs, pagination, authentication, log timeouts and asynchronous deletion.

  • Clarify that Hugging Face dataset configurations and splits depend on the dataset and are currently rejected for LoRA GRPO. Scope GRPO data_config guidance to the applicable runtime loader.

  • Explain the purpose of the API in the root README: expose Training Hub recipes through HTTP, handle backend submission and reduce workbench/SDK setup for applications. Point the OpenAPI link explicitly to upstream.

  • Make the installation guide the shareable entry point: install the default chart, find the HTTPS API URL, open Swagger and check authenticated access. Explain OpenShift Routes in plain language and move maintainer build/publish commands into the README development section. Keep application integration and structured training-runtime requirements as linked optional references. Remove docs/validation; keep verification artifacts outside the repository.
  • Validation:

  • 1,026 unit tests passed, with no failures or skips. Added regressions for required persistent output and retained legacy job reads; the missing-output rejection failed before the fix.

  • Regenerated sources with Podman and the pinned OpenAPI Generator. Ruff lint/format checks, mypy, Helm lint/template and diff checks passed. All 91 internal OpenAPI references resolve.

  • Updated E2E request fixtures so existing negative tests continue to exercise their intended validation, and added missing/null/empty output cases. All 165 E2E cases collect successfully; live training E2E was not rerun for this update.

  • Documentation checks validated 17 local links, 10 shell blocks and the submission example. Rendered Helm defaults match the documented Route name, HTTPS exposure and port-forward target.

  • The E2E Swagger check compares deployment metadata/schemas with the branch contract and verifies estimation is absent. Build and redeploy this branch before running it: this update has not been published or deployed as a new image, and the published 0.1.0 image still contains PR #14 code.
  • Descriptions follow the official Swagger operation guidance: short action summaries, relevant usage details and documented responses.

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

    Summary by CodeRabbit

    API Changes
    The training-job estimation endpoint is no longer available. Algorithm discovery is available; queue discovery remains unavailable and returns 501.
    Job submissions require an output destination. Job details distinguish recorded submission settings from current runtime information.
    Documentation
    Added a dashboard integration quickstart covering authentication, submissions, monitoring, logs, and deletion.
    Added installation and training-runtime guides, and updated the project overview and API documentation.
    Chores
    Image tags default to the short Git commit hash; chart and application versions use checked-in values unless overridden.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 540 lines (+405 / -135) across 6 files Reviewer: Sridhar1030 Review duration: 5319m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.48) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 540 lines diff across 6 files
    0.48
    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.377
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #15"
    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: 48.0% (MEDIUM) · Higher = larger blast radius
    48.0%
    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: 18.9% · Safe to merge
    18.9%