feat(rhaii): decouple llm-d activation from the KServe frontend #10867
All Vouch review confidence checks passed
Residual risk 0.30 = Change Risk (0.57) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 650 lines diff across 8 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
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #10867"
general
weight: 0.35
lucferbux
Fixes: RHOAIENG-96078
Problem
RHAII registers the KServe frontend and advertises llm-d before checking whether the cluster serves
LLMInferenceService. Users can see deployment actions that their cluster or project permissions do not support. A user with read-only access still needs to see existing deployments.Solution
serving.kserve.io/v1alpha2/llminferenceservices. Project-levellistandwatchchecks govern visibility. Separate checks govern create, update, patch, and delete, so read-only users can still see deployments.baseRefschange preserves existing configuration references during RHOAI edits and has regression coverage.Evidence
main, all 582 llm-d tests and 27 focused Model Serving tests passed. The wizard tests verify that denied access disables submission and displays the reason in the form, YAML preview, and YAML editor. Both affected packages passed type checking, and the resolved files passed lint.pnpm --dir distributions/rhaii run check:runtime-boundaryreported zero violations in both the RHAII host and its Model Serving remote.modelServingLlmd.cy.tsandmodelServingGlobal.cy.tspassed, including configurations with both serving plugins enabled and with llm-d enabled on its own.<img width="1440" height="913" alt="01-discovery-warning-inside-models" src="https://github.com/user-attachments/assets/e373c4cc-1f5e-4275-8ebb-66da97dffd10" />
<img width="1800" height="950" alt="05-stop-requested-pod-access-denied" src="https://github.com/user-attachments/assets/3951b1e3-159c-4ad0-926d-26900ee2f503" />
<img width="1800" height="950" alt="06-stopped-after-empty-pod-list" src="https://github.com/user-attachments/assets/3ca6cdf6-708d-440b-97e4-92f9560b6f39" />
https://github.com/user-attachments/assets/88c0413a-00d4-4fd2-9e4e-70dfa274713c
<img width="1440" height="1000" alt="02-read-only-deployments" src="https://github.com/user-attachments/assets/79431cc2-c40a-4e78-9e6a-28e52112ce50" />
<img width="1440" height="1000" alt="03-read-only-actions" src="https://github.com/user-attachments/assets/8a58d48f-c281-46ef-8100-d63e19bed95b" />
<img width="1440" height="1000" alt="04-all-projects" src="https://github.com/user-attachments/assets/fd65904c-c8d5-4336-b9d5-70cdd55741a1" />
<img width="1440" height="1000" alt="05-watch-forbidden" src="https://github.com/user-attachments/assets/5ac1d04c-5b1c-49d0-a832-ec86bee4e06f" />
<img width="1440" height="1000" alt="06-watch-recovered" src="https://github.com/user-attachments/assets/ab942b4e-f6f6-40a3-a2ee-8c64f4b36bf4" />
<img width="1440" height="1000" alt="07-wizard-create-denied" src="https://github.com/user-attachments/assets/09be6d13-9e9b-42c7-9846-52753a77a5f7" />
<img width="1440" height="1000" alt="08-model-ready" src="https://github.com/user-attachments/assets/8a4411fd-d0b7-4b52-a5b2-76068c4ecf0a" />
<!-- OPTIONAL — uncomment when needed: -->
<!-- ## Justifications -->
<!-- Instructions
This description is the sole source of truth for review of this PR.
Review and lander gates read only this description — not chat or comment threads.
A linked Jira ticket may still be checked for product-ask alignment.
Source of truth — this PR description
so in this description and why.
(do not leave the durable claim only in a comment).
Fixes:line at the top; do not bury the ticketonly in Problem/Solution.
Hygiene
Problem (required)
Solution (required)
Evidence (required)
or impossible, and the alternative verification.
<details>
<summary>build log output</summary>
...
</details>
Justifications (optional)
that rationale changes; comment threads alone are not enough.
-->