← Back to Pull requests

Add RHOAI 3.6 Data Registry getting-started guide #122

Closed
unknown closed this pull request without merging on Nov 24, 2026 11:26 UTC
View on GitHub
unknown unknown commented on Sep 23, 2026 15:33 UTC
Author

Description

Turns the RHOAI 3.6 Data Registry example into a four-step customer walkthrough:

1. Configure the Data Registry on the cluster.
2. Create data-registry-example, connect it to the PR's SeaweedFS S3 setup, upload a synthetic FAQ, and register a collection and document asset with realistic metadata and a connection reference.
3. Create a JupyterLab workspace and follow a verbose notebook through authenticated API discovery, asset inspection, SeaweedFS download and checksum verification, and API creation/read-back of a second collection and asset.
4. Share project-scoped registry access using the existing guidance. The fuller sharing scenario is intentionally deferred.

The original getting-started path redirects to the new index. Step 3 includes a tested WorkspacesV2 manifest and six genuine JupyterLab screenshots. The source notebook has no saved outputs or credentials; screenshots show only non-sensitive results.

Related ticket

  • RHOAIENG-95346
  • Live validation

  • Created data-registry-example on the test cluster, its data-registry-storage connection from the approved SeaweedFS credentials, the customer-support collection, and the customer-support-faq asset with its connection reference.

  • Uploaded the synthetic FAQ to s3://data-registry-example/examples/customer-support/customer-support-faq.md; its read-back SHA-256 matches the committed fixture: e5be400a6740cb71a0ae93606a194f6cfcde5db09460b8c88c6e50afb0e57f78.

  • Enabled the RHOAI Workbenches and WorkbenchesV2 components and the dashboard Workspaces UI, then created the data-registry-api JupyterLab workspace in the example project. Its connection Secret is mounted read-only. The workspace is Running.

  • The workbench initially received HTTP 403 because its ServiceAccount had no Data Registry grant. Inspection of the live proxy and volume handler showed that this installation authorizes the notebook's catalog reads/writes without checking connections use for connection_ref. The operator-provided feast-data-registry-editor role is sufficient here. ServiceAccount ws-data-registry-api now has only that role through a RoleBinding in data-registry-example; the broader admin binding was removed. The guide explains the precise scope and the separate S3 Secret mount.

  • Ran all 10 notebook code cells successfully in the workspace. The notebook used verified TLS and the projected ServiceAccount token, downloaded the SeaweedFS object, verified its checksum, and created/read back the API collection and asset. A second run passed the ownership-marker reuse checks, and a further run passed all 10 cells with only the editor role.

  • Server-side dry-run validated workspace.example.yaml; focused repository validation passed with 164 passed and 148 skipped. The 16 existing warnings concern other examples. Notebook JSON/Python syntax, local links, and git diff --check also passed.
  • Remaining screenshots

    The Step 1–2 dashboard views and Step 3 Workspaces form/row are still marked for capture. The automation browser cannot establish trust to this cluster's dashboard route, so the guide uses no mock or unrelated product screens. The six JupyterLab screenshots were captured from the running example workspace.

    [RHOAIENG-95346]: https://redhat.atlassian.net/browse/RHOAIENG-95346?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

    Diff: 437 lines (+327 / -110) across 5 files Reviewer: MStokluska Review duration: 89033m
    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 · 437 lines diff across 5 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.364
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #122"
    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: 45.2% (MEDIUM) · Higher = larger blast radius
    45.2%
    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.9% · Safe to merge
    17.9%