MTA-7133-LLM-Proxy-Disconnection-Network-Isolation-Procedures - #381
MTA-7133-LLM-Proxy-Disconnection-Network-Isolation-Procedures #381anarnold97 wants to merge 29 commits into
Conversation
|
Warning Review limit reached
Next review available in: 33 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughAdds an emergency LLM proxy shutdown assembly to the developer Lightspeed guide, with centralized and standalone isolation guidance, CLI and web console procedures, shutdown validation, developer-impact notes, and re-enablement steps. ChangesEmergency shutdown procedure docs
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/topics/developer-lightspeed/proc_emergency-llm-proxy-shutdown.adoc`:
- Around line 175-182: Correct the provider name typo in the provider list so it
reads “Azure OpenAI Service” instead of “zure OpenAI Service.” Update the
relevant entry in the developer-lightspeed emergency LLM proxy shutdown document
where the OpenAI/Azure OpenAI providers are listed, keeping the rest of the
table content unchanged.
- Around line 93-104: The verification step in
proc_emergency-llm-proxy-shutdown.adoc is misleading because `oc get pods ... |
grep proxy` will not produce the stated “No resources found...” output; update
the expected result to reflect the actual shell behavior for this command, using
the existing “Verify that no proxy pods are running” step and its “Expected
output” block as the place to adjust the wording.
- Around line 243-264: The curl validation is targeting the public
`api.openai.com` endpoint instead of the actual isolation/proxy path, so it does
not validate centralized deployments correctly. Update the `curl` example in the
emergency shutdown docs to use the proxy or workstation-specific endpoint used
by the isolation flow, and make the expected output reflect that path for both
isolated and centralized modes. Keep the guidance aligned with the surrounding
`curl` validation section so readers verify the real traffic route rather than a
single provider host.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 23625628-72fe-4a48-8b6d-a0bc320e3992
📒 Files selected for processing (2)
docs/developer-lightspeed-guide/master.adocdocs/topics/developer-lightspeed/proc_emergency-llm-proxy-shutdown.adoc
Pkylas007
left a comment
There was a problem hiding this comment.
Really minor nits and requested a clarification but thanks for the draft!
…Draft) Signed-off-by: A.Arnold <anarnold@redhat.com>
9aa8485 to
f5d9890
Compare
mpershina
left a comment
There was a problem hiding this comment.
Left a few suggestions.
…down.adoc Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
…down.adoc Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
…down.adoc Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
…down.adoc Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
mpershina
left a comment
There was a problem hiding this comment.
Left more suggestions :D
The most important one is about turning one procedure module with subsections (sub procedures) into an assembly with the individual procedures as modules. Subsections aren't allowed in procedure modules, thus, suggesting an assembly.
Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
There was a problem hiding this comment.
Actionable comments posted: 4
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
docs/topics/developer-lightspeed/proc_disable-llm-proxy-web-console.adoc (1)
38-43: 🔒 Security & Privacy | 🟠 Major | ⚡ Quick winVerify that proxy pods are fully removed.
Checking only for a non-
Runningstatus can pass while a proxy pod is stillTerminatingand potentially serving connections. Wait until no proxy pod exists, or document a status check that explicitly confirms deletion.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@docs/topics/developer-lightspeed/proc_disable-llm-proxy-web-console.adoc` around lines 38 - 43, Update the Verification steps to confirm that no pod with “proxy” in its name remains in the {ProductShortName} namespace, rather than only checking that it is not Running. In the relevant workload verification instructions, require waiting for terminating proxy pods to disappear or explicitly confirm their deletion.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/topics/developer-lightspeed/assembly_emergency-llm-proxy-shutdown.adoc`:
- Around line 20-22: Reorder the procedure includes in the assembly document so
proc_validate-llm-proxy-shutdown.adoc appears before
proc_reenable-llm-proxy.adoc, preserving the intended workflow of isolate,
validate, then re-enable.
In `@docs/topics/developer-lightspeed/proc_disable-llm-proxy-cli.adoc`:
- Around line 46-61: Update the Verification command to explicitly detect proxy
pods in the namespace, print “No proxy pods found” when none remain, and return
a failure status when any proxy pod is present. Replace the inconsistent “No
resources found in mta namespace.” output with the matching no-proxy message
while preserving the existing namespace placeholder.
In `@docs/topics/developer-lightspeed/proc_reenable-llm-proxy.adoc`:
- Around line 17-20: Update the navigation steps around the Tackle instance to
explicitly select the {ProductShortName} namespace/project and installed
{ProductShortName} Operator before opening Tackle, matching the sequence in
proc_disable-llm-proxy-web-console.adoc. Preserve the existing Actions > Edit
Tackle and kai_llm_proxy_enabled instructions.
In `@docs/topics/developer-lightspeed/proc_validate-llm-proxy-shutdown.adoc`:
- Around line 15-37: Revise the isolation validation procedure to separate
centralized, firewall-blocked, and DNS-blocked scenarios. In centralized mode,
have the curl command target the actual LLM proxy endpoint used by the IDE and
include --fail so HTTP 503 produces curl error 22; document connection-refused
output for firewall blocking and a name-resolution failure for DNS blocking.
Update the expected-output sections and placeholders to match each scenario.
---
Outside diff comments:
In `@docs/topics/developer-lightspeed/proc_disable-llm-proxy-web-console.adoc`:
- Around line 38-43: Update the Verification steps to confirm that no pod with
“proxy” in its name remains in the {ProductShortName} namespace, rather than
only checking that it is not Running. In the relevant workload verification
instructions, require waiting for terminating proxy pods to disappear or
explicitly confirm their deletion.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 3d5d7cf6-9056-4bfe-a91d-711e5c9712bb
📒 Files selected for processing (8)
docs/developer-lightspeed-guide/master.adocdocs/topics/developer-lightspeed/assembly_emergency-llm-proxy-shutdown.adocdocs/topics/developer-lightspeed/con_llm-proxy-shutdown-overview.adocdocs/topics/developer-lightspeed/proc_disable-llm-proxy-cli.adocdocs/topics/developer-lightspeed/proc_disable-llm-proxy-web-console.adocdocs/topics/developer-lightspeed/proc_reenable-llm-proxy.adocdocs/topics/developer-lightspeed/proc_validate-llm-proxy-shutdown.adocdocs/topics/developer-lightspeed/ref_llm-proxy-developer-impact.adoc
🚧 Files skipped from review as they are similar to previous changes (1)
- docs/developer-lightspeed-guide/master.adoc
Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
…own.adoc Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
…t.adoc Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
…t.adoc Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
…t.adoc Co-authored-by: Mariya Pershina <53339200+mpershina@users.noreply.github.com>
|
@mpershina - FYI created three files:
|
|
@rromannissen - just need your approval before moving this to merge thanks |
JIRA
PREVIEW
7. LLM proxy interaction monitoring
7.1. LLM proxy request and data handling
7.2. Accessing LLM proxy pod logs
7.3. Planned audit logging capabilities
DESCRIPTION
Adds emergency LLM proxy shutdown and network isolation procedures to the Developer Lightspeed guide.
New file:
proc_emergency-llm-proxy-shutdown.adocCentralized mode (Operator / OpenShift deployments)
kai_llm_proxy_enabled: falsein the Tackle CRoc patchCLI methodsStandalone mode (manual desktop setup)
Validation
curl-based network-level checkAssembly change
docs/developer-lightspeed-guide/master.adoc— new module included aftercon_developer-lightspeed-logs.adocSummary by CodeRabbit