Skip to content

fix(sglang): cherry pick conditional disagg bypass httperror fix - #12616

Merged
pvijayakrish merged 1 commit into
release/1.4.0from
karenc/cherrypick-12578-release-1.4.0
Aug 4, 2026
Merged

fix(sglang): cherry pick conditional disagg bypass httperror fix#12616
pvijayakrish merged 1 commit into
release/1.4.0from
karenc/cherrypick-12578-release-1.4.0

Conversation

@karen-sy

@karen-sy karen-sy commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Overview:

cherry-pick for #12578

Details:

Where should the reviewer start?

Related Issues

⚠️ This section is required. Choose one path below and delete the other.

🔗 This PR is linked to an issue:

  • Closes #XXXX

🚫 This PR is NOT linked to an issue:

  • Confirmed — no related issue

Open in Devin Review

Signed-off-by: Karen Chung <karenc@nvidia.com>
@karen-sy
karen-sy requested a review from a team as a code owner August 4, 2026 01:07
@github-actions github-actions Bot added fix backend::sglang Relates to the sglang backend labels Aug 4, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Open in Devin Review

Comment on lines +50 to +54
raise HttpError(
400,
f"Detected request annotation {BYPASS_REMOTE_PREFILL_ANNOTATION!r}, but "
"SGLang backend does not support conditional disaggregation yet. "
"Use vLLM or TensorRT-LLM for conditional disaggregation."
"Use vLLM or TensorRT-LLM for conditional disaggregation.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 HttpError propagation path verified

dynamo.llm.HttpError (defined in lib/bindings/python/src/dynamo/llm/exceptions.py) validates code range 0-599 and is duck-typed extracted by the Rust bridge (lib/bindings/python/rust/http.rs:190-201) into http_error::HttpError, so raising with code 400 surfaces a client error rather than a 500. Note the extraction path applies to the HTTP engine bridge; for worker-endpoint requests the exception travels back through the runtime error channel — worth confirming manually that the frontend renders 400 rather than a generic internal error for SGLang decode workers.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@datadog-official

datadog-official Bot commented Aug 4, 2026

Copy link
Copy Markdown

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 15.98% (-31.39%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 557c482 | Docs | Datadog PR Page | Give us feedback!

@pvijayakrish
pvijayakrish merged commit 3800138 into release/1.4.0 Aug 4, 2026
100 of 101 checks passed
@pvijayakrish
pvijayakrish deleted the karenc/cherrypick-12578-release-1.4.0 branch August 4, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend::sglang Relates to the sglang backend fix size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants