fix(servicer): the Rust vLLM servicer withholds a PD decode side's rejection notice on the Mooncake connector #4287
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
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 37% · 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.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
claude[bot]
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_ARGUMENTby 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.requests3 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;
/loadsread 475.6 s after the refusal) | prefill worker's/loadsused 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'sgenerate.rs(the two Mooncake cases see the notice reach the engine) | 280 passed | the crate's tests |