← Back to Pull requests

fix(servicer): the Rust vLLM servicer withholds a PD decode side's rejection notice on the Mooncake connector #4287

Open
unknown opened this pull request with 375 lines diff across 4 files
View on GitHub
unknown unknown commented on Oct 23, 2026 02:06 UTC
Author

Method

The Rust servicer already owed the notice only until the request is handed to the engine; the Python vLLM servicer gets the same withhold in its own change, and the SGLang and TokenSpeed servicers send no such notice. Same PD bed, model, harness and Mooncake connector for every row, the Rust vLLM servicer in front of every engine; only the engine image differs: "before" is main's, "after" is this branch's. The pre-admission case is a decode request the servicer refuses before the engine gets it (an invalid sampling param, refused INVALID_ARGUMENT by the servicer's own check) under a real prefill's KV-transfer params, driven over gRPC the way the gateway drives the pair.

Release note

On vLLM 0.31.0's Mooncake connector any KV-transfer rejection notice kills the decode engine, a legitimate pre-admission one included (the connector reports the notice's empty pull as a finished transfer for an id the scheduler no longer tracks). The Rust vLLM servicer now withholds the notice when the engine's connector, as the launcher resolves it (a wrapper's mover included), is Mooncake, with one warning line naming the reason; the prefill side releases the blocks at the connector's own abort timeout instead. NIXL is unchanged; no knob; remove once upstream fixes the connector.

Numbers

| metric | before | after | setup |
|---|---|---|---|
| Decode engine deaths, pre-admission refusal on Mooncake 2p1d | 1 of 1 (EngineCore assert req_id in self.requests 3 s after the refusal, the engine process exited 4 s later, gateway 503) | 0 of 1 (decode serves 3.1 s after the refusal, one warning line in the decode log) | harness case, PD gRPC pair |
| Decode engine deaths, Mooncake 2p1d + 1p1d classes | 0 | 0 | the repo's PD topology classes |
| 2p1d class, Mooncake (passed / failed / skipped) | 11 / 0 / 1 (243 s) | 11 / 0 / 1 (245 s) | pytest e2e_test/router/test_pd_topologies.py -k "2p1d and not ptp" |
| 1p1d gRPC + HTTP classes, Mooncake | 21 / 0 / 6 (529 s) | 21 / 0 / 6 (528 s) | -k "1p1d and not ptp and not dtp" |
| Prefill block hold after a pre-admission refusal, Mooncake | no release (the decode is dead) | 480 s = the connector's own abort timeout (416 tokens held, released at its "timed out after 480 seconds without being sent" line; /loads read 475.6 s after the refusal) | prefill worker's /loads used tokens + its log |
| Prefill block hold after the same refusal, NIXL 1p1d | notice sent (unchanged code path) | 3.1 s (notice sent, decode alive; no warning line) | same case on the NIXL leg |
| Rejection notices per pre-admission refusal, NIXL | 1 | 1 | crate test (the notice and its abort reach the mock engine) + the NIXL leg above |
| Rejection notices per pre-admission refusal, Mooncake | 1 (fatal) | 0 (+ 1 warning line) | crate tests + the decode worker log |
| cargo test -p engine-servicer --lib | 1 passed / 2 failed with main's generate.rs (the two Mooncake cases see the notice reach the engine) | 280 passed | the crate's tests |

Diff: 375 lines (+281 / -94) across 4 files Reviewer: claude[bot] Review duration: 3m
All Vouch review confidence checks passed
Residual risk 0.37 = Change Risk (0.48) × (1 − Review Confidence (0.23)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.48 · 375 lines diff across 4 files
0.48
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 37% · Reviewer familiarity: 35%
22%
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.355
Shallow Review Depth shallow_review_depth
0.344
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #4287"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: medium confidence: 22.9% 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: 47.9% (MEDIUM) · Higher = larger blast radius
47.9%
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: 22.9% · Lower = rushed or shallow review
22.9%
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: 36.9% · Moderate risk
36.9%